home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Sound Blastoff
/
Sound Blastoff.iso
/
Sound Utilities
/
PianoSim II 1.2 ƒ
/
PianoSim II 1.2
/
PianoSim II 1.2.rsrc
/
bin.rsrc_CODE_12.txt
< prev
next >
Wrap
Text File
|
1995-07-30
|
378KB
|
6,900 lines
# near model CODE resource
# jump table entries: 824-838 (15 of them)
fn00000000:
00000000 4E56 0000 link A6, 0
00000004 2F0C move.l -[A7], A4
00000006 99CC sub.l A4, A4
00000008 0CAE 0000 3A98 0008 cmpi.l [A6 + 0x8], 0x3A98
00000010 640C bcc +0xE /* 0000001E */
00000012 3F2E 000A move.w -[A7], [A6 + 0xA]
00000016 4EBA 01E6 jsr [PC + 0x1E6 /* 000001FE */]
0000001A 548F addq.l A7, 2
0000001C 602A bra +0x2C /* 00000048 */
label0000001E:
0000001E 0CAE 0080 0000 0008 cmpi.l [A6 + 0x8], 0x800000
00000026 6304 bls +0x6 /* 0000002C */
00000028 7000 moveq.l D0, 0x00
0000002A 601C bra +0x1E /* 00000048 */
label0000002C:
0000002C 1B7C 0001 F9EA move.b [A5 - 0x616], 0x1
00000032 202E 0008 move.l D0, [A6 + 0x8]
00000036 5480 addq.l D0, 2
00000038 A11E syscall NewPtr, flags=1
0000003A 6B04 bmi +0x6 /* 00000040 */
0000003C 30FC FFFF move.w [A0]+, 0xFFFF
label00000040:
00000040 2848 movea.l A4, A0
00000042 422D F9EA clr.b [A5 - 0x616]
00000046 200C move.l D0, A4
label00000048:
00000048 285F movea.l A4, [A7]+
0000004A 4E5E unlink A6
0000004C 4E75 rts
0000004E 4E56 FFFC link A6, -0x0004
00000052 42AE FFFC clr.l [A6 - 0x4]
00000056 0CAE 0080 0000 000C cmpi.l [A6 + 0xC], 0x800000
0000005E 6304 bls +0x6 /* 00000064 */
00000060 7000 moveq.l D0, 0x00
00000062 607A bra +0x7C /* 000000DE */
label00000064:
00000064 082E 0000 000F btst.b [A6 + 0xF], 0x0
0000006A 6704 beq +0x6 /* 00000070 */
0000006C 52AE 000C addq.l [A6 + 0xC], 1
label00000070:
00000070 2F2E 000C move.l -[A7], [A6 + 0xC]
00000074 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000078 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
0000007C 2D40 000C move.l [A6 + 0xC], D0
00000080 0C80 0080 0000 cmpi.l D0, 0x800000
00000086 6304 bls +0x6 /* 0000008C */
00000088 7000 moveq.l D0, 0x00
0000008A 6052 bra +0x54 /* 000000DE */
label0000008C:
0000008C 0CAE 0000 3A98 000C cmpi.l [A6 + 0xC], 0x3A98
00000094 6428 bcc +0x2A /* 000000BE */
00000096 3F2E 000E move.w -[A7], [A6 + 0xE]
0000009A 4EBA 0162 jsr [PC + 0x162 /* 000001FE */]
0000009E 548F addq.l A7, 2
000000A0 2D40 FFFC move.l [A6 - 0x4], D0
000000A4 6712 beq +0x14 /* 000000B8 */
000000A6 2F2E 000C move.l -[A7], [A6 + 0xC]
000000AA 4267 clr.w -[A7]
000000AC 2F2E FFFC move.l -[A7], [A6 - 0x4]
000000B0 4EBA 2EDC jsr [PC + 0x2EDC /* 00002F8E */]
000000B4 4FEF 000A lea.l A7, [A7 + 0xA]
label000000B8:
000000B8 202E FFFC move.l D0, [A6 - 0x4]
000000BC 6020 bra +0x22 /* 000000DE */
label000000BE:
000000BE 1B7C 0001 F9EA move.b [A5 - 0x616], 0x1
000000C4 202E 000C move.l D0, [A6 + 0xC]
000000C8 5480 addq.l D0, 2
000000CA A31E syscall NewPtrClear, flags=3
000000CC 6B04 bmi +0x6 /* 000000D2 */
000000CE 30FC FFFF move.w [A0]+, 0xFFFF
label000000D2:
000000D2 2D48 FFFC move.l [A6 - 0x4], A0
000000D6 422D F9EA clr.b [A5 - 0x616]
000000DA 202E FFFC move.l D0, [A6 - 0x4]
label000000DE:
000000DE 4E5E unlink A6
000000E0 4E75 rts
000000E2 4E56 0000 link A6, 0
000000E6 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
000000EA 2E2E 000C move.l D7, [A6 + 0xC]
000000EE 286E 0008 movea.l A4, [A6 + 0x8]
000000F2 0C87 0080 0000 cmpi.l D7, 0x800000
000000F8 6306 bls +0x8 /* 00000100 */
000000FA 7000 moveq.l D0, 0x00
000000FC 6000 00E2 bra +0xE4 /* 000001E0 */
label00000100:
00000100 200C move.l D0, A4
00000102 660C bne +0xE /* 00000110 */
00000104 2F07 move.l -[A7], D7
00000106 4EBA FEF8 jsr [PC - 0x108 /* 00000000 */]
0000010A 588F addq.l A7, 4
0000010C 6000 00D2 bra +0xD4 /* 000001E0 */
label00000110:
00000110 4A87 tst.l D7
00000112 660E bne +0x10 /* 00000122 */
00000114 2F0C move.l -[A7], A4
00000116 4EBA 00D0 jsr [PC + 0xD0 /* 000001E8 */]
0000011A 588F addq.l A7, 4
0000011C 7000 moveq.l D0, 0x00
0000011E 6000 00C0 bra +0xC2 /* 000001E0 */
label00000122:
00000122 0807 0000 btst.b D7, 0x0
00000126 6702 beq +0x4 /* 0000012A */
00000128 5287 addq.l D7, 1
label0000012A:
0000012A 204C movea.l A0, A4
0000012C 7000 moveq.l D0, 0x00
0000012E 3020 move.w D0, -[A0]
00000130 4640 not.w D0
00000132 6602 bne +0x4 /* 00000136 */
00000134 A021 syscall GetPtrSize
label00000136:
00000136 5580 subq.l D0, 2
00000138 2C00 move.l D6, D0
0000013A BC87 cmp.l D6, D7
0000013C 6314 bls +0x16 /* 00000152 */
0000013E 2A07 move.l D5, D7
00000140 0C86 0000 3A98 cmpi.l D6, 0x3A98
00000146 6526 bcs +0x28 /* 0000016E */
00000148 0C87 0000 3A98 cmpi.l D7, 0x3A98
0000014E 6570 bcs +0x72 /* 000001C0 */
00000150 6062 bra +0x64 /* 000001B4 */
label00000152:
00000152 BC87 cmp.l D6, D7
00000154 6414 bcc +0x16 /* 0000016A */
00000156 2A06 move.l D5, D6
00000158 0C86 0000 3A98 cmpi.l D6, 0x3A98
0000015E 6454 bcc +0x56 /* 000001B4 */
00000160 0C87 0000 3A98 cmpi.l D7, 0x3A98
00000166 6458 bcc +0x5A /* 000001C0 */
00000168 6018 bra +0x1A /* 00000182 */
label0000016A:
0000016A 200C move.l D0, A4
0000016C 6072 bra +0x74 /* 000001E0 */
label0000016E:
0000016E 204C movea.l A0, A4
00000170 3220 move.w D1, -[A0]
00000172 2006 move.l D0, D6
00000174 9087 sub.l D0, D7
00000176 D240 add.w D1, D0
00000178 3081 move.w [A0], D1
0000017A 4641 not.w D1
0000017C D0C1 add.w A0, D1
0000017E 3080 move.w [A0], D0
00000180 60E8 bra -0x16 /* 0000016A */
label00000182:
00000182 224C movea.l A1, A4
00000184 3021 move.w D0, -[A1]
00000186 4640 not.w D0
00000188 41F1 0000 lea.l A0, [A1 + D0.w]
0000018C 3010 move.w D0, [A0]
0000018E 6B30 bmi +0x32 /* 000001C0 */
00000190 2B6D F9F4 F9F8 move.l [A5 - 0x608], [A5 - 0x60C]
00000196 7200 moveq.l D1, 0x00
label00000198:
00000198 D041 add.w D0, D1
0000019A 3230 0000 move.w D1, [A0 + D0.w]
0000019E 6AF8 bpl -0x6 /* 00000198 */
000001A0 3080 move.w [A0], D0
000001A2 2207 move.l D1, D7
000001A4 9286 sub.l D1, D6
000001A6 D0C1 add.w A0, D1
000001A8 9041 sub.w D0, D1
000001AA 6514 bcs +0x16 /* 000001C0 */
000001AC 6702 beq +0x4 /* 000001B0 */
000001AE 3080 move.w [A0], D0
label000001B0:
000001B0 9351 sub.w [A1], D1
000001B2 60B6 bra -0x48 /* 0000016A */
label000001B4:
000001B4 204C movea.l A0, A4
000001B6 5588 subq.l A0, 2
000001B8 2007 move.l D0, D7
000001BA 5480 addq.l D0, 2
000001BC A020 syscall SetPtrSize
000001BE 6AAA bpl -0x54 /* 0000016A */
label000001C0:
000001C0 2F07 move.l -[A7], D7
000001C2 4EBA FE3C jsr [PC - 0x1C4 /* 00000000 */]
000001C6 588F addq.l A7, 4
000001C8 2640 movea.l A3, D0
000001CA 200B move.l D0, A3
000001CC 6710 beq +0x12 /* 000001DE */
000001CE 2005 move.l D0, D5
000001D0 224B movea.l A1, A3
000001D2 204C movea.l A0, A4
000001D4 A02E syscall BlockMove/BlockMoveData
000001D6 2F0C move.l -[A7], A4
000001D8 4EBA 000E jsr [PC + 0xE /* 000001E8 */]
000001DC 588F addq.l A7, 4
label000001DE:
000001DE 200B move.l D0, A3
label000001E0:
000001E0 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000001E4 4E5E unlink A6
000001E6 4E75 rts
fn000001E8:
000001E8 4E56 0000 link A6, 0
000001EC 202E 0008 move.l D0, [A6 + 0x8]
000001F0 6708 beq +0xA /* 000001FA */
000001F2 2040 movea.l A0, D0
000001F4 4660 not.w -[A0]
000001F6 6602 bne +0x4 /* 000001FA */
000001F8 A01F syscall DisposPtr/DisposePtr
label000001FA:
000001FA 4E5E unlink A6
000001FC 4E75 rts
fn000001FE:
000001FE 4E56 FFF8 link A6, -0x0008
00000202 2F07 move.l -[A7], D7
00000204 3E2E 0008 move.w D7, [A6 + 0x8]
00000208 5647 addq.w D7, 3
0000020A 0887 0000 bclr.b D7, 0x0
0000020E 2D6D F9F4 FFFC move.l [A6 - 0x4], [A5 - 0x60C]
00000214 202D F9F8 move.l D0, [A5 - 0x608]
00000218 6652 bne +0x54 /* 0000026C */
label0000021A:
0000021A 1B7C 0001 F9EA move.b [A5 - 0x616], 0x1
00000220 203C 0000 3AA0 move.l D0, 0x3AA0
00000226 A11E syscall NewPtr, flags=1
00000228 6B00 0086 bmi +0x88 /* 000002B0 */
0000022C 317C FFFF 3A9A move.w [A0 + 0x3A9A], 0xFFFF
00000232 216D F9EC 3A9C move.l [A0 + 0x3A9C], [A5 - 0x614]
00000238 2B48 F9EC move.l [A5 - 0x614], A0
0000023C 2B48 F9F4 move.l [A5 - 0x60C], A0
00000240 202D F9F0 move.l D0, [A5 - 0x610]
00000244 6606 bne +0x8 /* 0000024C */
00000246 2008 move.l D0, A0
00000248 2B40 F9F0 move.l [A5 - 0x610], D0
label0000024C:
0000024C 2240 movea.l A1, D0
0000024E 2348 3A9C move.l [A1 + 0x3A9C], A0
00000252 303C 3A9A move.w D0, 0x3A9A
00000256 3080 move.w [A0], D0
00000258 6044 bra +0x46 /* 0000029E */
label0000025A:
0000025A 202E FFF8 move.l D0, [A6 - 0x8]
0000025E B0AE FFFC cmp.l D0, [A6 - 0x4]
00000262 67B6 beq -0x48 /* 0000021A */
00000264 2B40 F9F4 move.l [A5 - 0x60C], D0
00000268 2B40 F9F8 move.l [A5 - 0x608], D0
label0000026C:
0000026C 2040 movea.l A0, D0
0000026E 74FF moveq.l D2, 0xFFFFFFFF
00000270 6018 bra +0x1A /* 0000028A */
label00000272:
00000272 4640 not.w D0
00000274 660E bne +0x10 /* 00000284 */
00000276 2D68 0002 FFF8 move.l [A6 - 0x8], [A0 + 0x2]
0000027C 206D F9F4 movea.l A0, [A5 - 0x60C]
00000280 242D F9F8 move.l D2, [A5 - 0x608]
label00000284:
00000284 D0C0 add.w A0, D0
00000286 B1C2 cmpa.l A0, D2
00000288 64D0 bcc -0x2E /* 0000025A */
label0000028A:
0000028A 3010 move.w D0, [A0]
0000028C 6BE4 bmi -0x1A /* 00000272 */
0000028E 7200 moveq.l D1, 0x00
label00000290:
00000290 D041 add.w D0, D1
00000292 3230 0000 move.w D1, [A0 + D0.w]
00000296 6AF8 bpl -0x6 /* 00000290 */
00000298 3080 move.w [A0], D0
0000029A B047 cmp.w D0, D7
0000029C 65E6 bcs -0x18 /* 00000284 */
label0000029E:
0000029E 2248 movea.l A1, A0
000002A0 D2C7 add.w A1, D7
000002A2 2B49 F9F8 move.l [A5 - 0x608], A1
000002A6 9047 sub.w D0, D7
000002A8 6702 beq +0x4 /* 000002AC */
000002AA 3280 move.w [A1], D0
label000002AC:
000002AC 4647 not.w D7
000002AE 30C7 move.w [A0]+, D7
label000002B0:
000002B0 2008 move.l D0, A0
000002B2 422D F9EA clr.b [A5 - 0x616]
000002B6 2E1F move.l D7, [A7]+
000002B8 4E5E unlink A6
000002BA 4E75 rts
export_103:
000002BC 4E56 0000 link A6, 0
000002C0 4A6E 0008 tst.w [A6 + 0x8]
000002C4 6C08 bge +0xA /* 000002CE */
000002C6 302E 0008 move.w D0, [A6 + 0x8]
000002CA 4440 neg.w D0
000002CC 6004 bra +0x6 /* 000002D2 */
label000002CE:
000002CE 302E 0008 move.w D0, [A6 + 0x8]
label000002D2:
000002D2 4E5E unlink A6
000002D4 4E75 rts
000002D6 4E56 0000 link A6, 0
000002DA 4AAE 0008 tst.l [A6 + 0x8]
000002DE 6C08 bge +0xA /* 000002E8 */
000002E0 202E 0008 move.l D0, [A6 + 0x8]
000002E4 4480 neg.l D0
000002E6 6004 bra +0x6 /* 000002EC */
label000002E8:
000002E8 202E 0008 move.l D0, [A6 + 0x8]
label000002EC:
000002EC 4E5E unlink A6
000002EE 4E75 rts
000002F0 4E56 FFFC link A6, -0x0004
000002F4 302E 000C move.w D0, [A6 + 0xC]
000002F8 48C0 ext.l D0
000002FA 81EE 000E divs.w D0, [A6 + 0xE]
000002FE 3D40 FFFC move.w [A6 - 0x4], D0
00000302 302E 000C move.w D0, [A6 + 0xC]
00000306 48C0 ext.l D0
00000308 81EE 000E divs.w D0, [A6 + 0xE]
0000030C 4840 swap.w D0
0000030E 3D40 FFFE move.w [A6 - 0x2], D0
00000312 206E 0008 movea.l A0, [A6 + 0x8]
00000316 20AE FFFC move.l [A0], [A6 - 0x4]
0000031A 4E5E unlink A6
0000031C 4E75 rts
0000031E 4E56 FFF8 link A6, -0x0008
00000322 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000326 2F2E 000C move.l -[A7], [A6 + 0xC]
0000032A 4EAD 005A jsr [A5 + 0x5A /* export_7 */]
0000032E 2D40 FFF8 move.l [A6 - 0x8], D0
00000332 2F2E 0010 move.l -[A7], [A6 + 0x10]
00000336 2F2E 000C move.l -[A7], [A6 + 0xC]
0000033A 4EAD 0062 jsr [A5 + 0x62 /* export_8 */]
0000033E 2D40 FFFC move.l [A6 - 0x4], D0
00000342 206E 0008 movea.l A0, [A6 + 0x8]
00000346 20AE FFF8 move.l [A0], [A6 - 0x8]
0000034A 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
00000350 4E5E unlink A6
00000352 4E75 rts
fn00000354:
00000354 4E56 0000 link A6, 0
00000358 2F0C move.l -[A7], A4
0000035A 0C6D 0021 F9FC cmpi.w [A5 - 0x604], 0x21 /* '!' */
00000360 6F04 ble +0x6 /* 00000366 */
00000362 70FF moveq.l D0, 0xFFFFFFFF
00000364 6034 bra +0x36 /* 0000039A */
label00000366:
00000366 302D F9FC move.w D0, [A5 - 0x604]
0000036A 526D F9FC addq.w [A5 - 0x604], 1
0000036E C1FC 0006 muls.w D0, 0x6
00000372 49ED FA00 lea.l A4, [A5 - 0x600]
00000376 D08C add.l D0, A4
00000378 2840 movea.l A4, D0
0000037A 28AE 0008 move.l [A4], [A6 + 0x8]
0000037E 4EBA 01C4 jsr [PC + 0x1C4 /* 00000544 */]
00000382 4AAD FACC tst.l [A5 - 0x534]
00000386 6610 bne +0x12 /* 00000398 */
00000388 206D 006C movea.l A0, [A5 + 0x6C]
0000038C 2B48 FACC move.l [A5 - 0x534], A0
00000390 41ED 0362 lea.l A0, [A5 + 0x362 /* export_104 */]
00000394 2B48 006C move.l [A5 + 0x6C], A0
label00000398:
00000398 7000 moveq.l D0, 0x00
label0000039A:
0000039A 285F movea.l A4, [A7]+
0000039C 4E5E unlink A6
0000039E 4E75 rts
fn000003A0:
000003A0 4E56 0000 link A6, 0
000003A4 48E7 0018 movem.l -[A7], A3,A4
000003A8 0C6D 0021 F9FC cmpi.w [A5 - 0x604], 0x21 /* '!' */
000003AE 6F04 ble +0x6 /* 000003B4 */
000003B0 70FF moveq.l D0, 0xFFFFFFFF
000003B2 6064 bra +0x66 /* 00000418 */
label000003B4:
000003B4 302D F9FC move.w D0, [A5 - 0x604]
000003B8 526D F9FC addq.w [A5 - 0x604], 1
000003BC C1FC 0006 muls.w D0, 0x6
000003C0 49ED FA00 lea.l A4, [A5 - 0x600]
000003C4 D08C add.l D0, A4
000003C6 2840 movea.l A4, D0
000003C8 28AE 0008 move.l [A4], [A6 + 0x8]
000003CC 397C 0001 0004 move.w [A4 + 0x4], 0x1
000003D2 4EBA 0170 jsr [PC + 0x170 /* 00000544 */]
000003D6 4AAD FAD0 tst.l [A5 - 0x530]
000003DA 663A bne +0x3C /* 00000416 */
000003DC 303C A9F4 move.w D0, 0xA9F4
000003E0 A146 syscall GetTrapAddress, flags=1
000003E2 2B48 FAD0 move.l [A5 - 0x530], A0
000003E6 4A78 028E tst.w [0x0000028E /* ROM85 */]
000003EA 6D0C blt +0xE /* 000003F8 */
000003EC 41ED 036A lea.l A0, [A5 + 0x36A /* export_105 */]
000003F0 303C A9F4 move.w D0, 0xA9F4
000003F4 A047 syscall SetTrapAddress
000003F6 601E bra +0x20 /* 00000416 */
label000003F8:
000003F8 7006 moveq.l D0, 0x06
000003FA A51E syscall NewPtrSys, flags=5
000003FC 2648 movea.l A3, A0
000003FE 36BC 4EF9 move.w [A3], 0x4EF9
00000402 41ED 036A lea.l A0, [A5 + 0x36A /* export_105 */]
00000406 2748 0002 move.l [A3 + 0x2], A0
0000040A 2B4B FAD4 move.l [A5 - 0x52C], A3
0000040E 303C A9F4 move.w D0, 0xA9F4
00000412 204B movea.l A0, A3
00000414 A047 syscall SetTrapAddress
label00000416:
00000416 7000 moveq.l D0, 0x00
label00000418:
00000418 4CDF 1800 movem.l A3,A4, [A7]+
0000041C 4E5E unlink A6
0000041E 4E75 rts
fn00000420:
00000420 4E56 0000 link A6, 0
00000424 2F07 move.l -[A7], D7
00000426 3E2D F9FC move.w D7, [A5 - 0x604]
0000042A 3B7C 0001 F9FC move.w [A5 - 0x604], 0x1
00000430 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000434 4EBA FF1E jsr [PC - 0xE2 /* 00000354 */]
00000438 3B47 F9FC move.w [A5 - 0x604], D7
0000043C 2E2E FFFC move.l D7, [A6 - 0x4]
00000440 4E5E unlink A6
00000442 4E75 rts
fn00000444:
00000444 4E56 0000 link A6, 0
00000448 2F07 move.l -[A7], D7
0000044A 3E2D F9FC move.w D7, [A5 - 0x604]
0000044E 426D F9FC clr.w [A5 - 0x604]
00000452 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000456 4EBA FF48 jsr [PC - 0xB8 /* 000003A0 */]
0000045A 3B47 F9FC move.w [A5 - 0x604], D7
0000045E 2E2E FFFC move.l D7, [A6 - 0x4]
00000462 4E5E unlink A6
00000464 4E75 rts
fn00000466:
00000466 4E56 0000 link A6, 0
0000046A 206D 006C movea.l A0, [A5 + 0x6C]
0000046E 4E90 jsr [A0]
00000470 A9F4 syscall ExitToShell
00000472 4E5E unlink A6
00000474 4E75 rts
fn00000476:
00000476 4E56 0000 link A6, 0
0000047A A9F4 syscall ExitToShell
0000047C 4E5E unlink A6
0000047E 4E75 rts
export_104:
00000480 3F3C 0001 move.w -[A7], 0x1
00000484 4EBA 0012 jsr [PC + 0x12 /* 00000498 */]
00000488 548F addq.l A7, 2
0000048A 4E75 rts
export_105:
0000048C 4267 clr.w -[A7]
0000048E 4EBA 0008 jsr [PC + 0x8 /* 00000498 */]
00000492 A9F4 syscall ExitToShell
00000494 548F addq.l A7, 2
00000496 4E75 rts
fn00000498:
00000498 4E56 0000 link A6, 0
0000049C 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000004A0 49ED FACC lea.l A4, [A5 - 0x534]
000004A4 4EBA 00A6 jsr [PC + 0xA6 /* 0000054C */]
000004A8 2C00 move.l D6, D0
000004AA 4A86 tst.l D6
000004AC 6706 beq +0x8 /* 000004B4 */
000004AE 4EBA 009C jsr [PC + 0x9C /* 0000054C */]
000004B2 C18D exg D0, A5
label000004B4:
000004B4 4A6E 0008 tst.w [A6 + 0x8]
000004B8 6606 bne +0x8 /* 000004C0 */
000004BA 3B7C 0001 F9FE move.w [A5 - 0x602], 0x1
label000004C0:
000004C0 49ED FACC lea.l A4, [A5 - 0x534]
000004C4 7E22 moveq.l D7, 0x22
000004C6 6018 bra +0x1A /* 000004E0 */
label000004C8:
000004C8 5D8C subq.l A4, 6
000004CA 2654 movea.l A3, [A4]
000004CC 200B move.l D0, A3
000004CE 6710 beq +0x12 /* 000004E0 */
000004D0 4294 clr.l [A4]
000004D2 4A6E 0008 tst.w [A6 + 0x8]
000004D6 6606 bne +0x8 /* 000004DE */
000004D8 4A6C 0004 tst.w [A4 + 0x4]
000004DC 6702 beq +0x4 /* 000004E0 */
label000004DE:
000004DE 4E93 jsr [A3]
label000004E0:
000004E0 3007 move.w D0, D7
000004E2 5347 subq.w D7, 1
000004E4 4A40 tst.w D0
000004E6 66E0 bne -0x1E /* 000004C8 */
000004E8 4AAD FAD4 tst.l [A5 - 0x52C]
000004EC 670A beq +0xC /* 000004F8 */
000004EE 206D FAD4 movea.l A0, [A5 - 0x52C]
000004F2 A01F syscall DisposPtr/DisposePtr
000004F4 42AD FAD4 clr.l [A5 - 0x52C]
label000004F8:
000004F8 4AAD FAD0 tst.l [A5 - 0x530]
000004FC 670E beq +0x10 /* 0000050C */
000004FE 303C A9F4 move.w D0, 0xA9F4
00000502 206D FAD0 movea.l A0, [A5 - 0x530]
00000506 A047 syscall SetTrapAddress
00000508 42AD FAD0 clr.l [A5 - 0x530]
label0000050C:
0000050C 4AAD FACC tst.l [A5 - 0x534]
00000510 6708 beq +0xA /* 0000051A */
00000512 206D FACC movea.l A0, [A5 - 0x534]
00000516 4E90 jsr [A0]
00000518 6006 bra +0x8 /* 00000520 */
label0000051A:
0000051A 206D 006C movea.l A0, [A5 + 0x6C]
0000051E 4E90 jsr [A0]
label00000520:
00000520 41ED 0372 lea.l A0, [A5 + 0x372 /* export_106 */]
00000524 2B48 FACC move.l [A5 - 0x534], A0
00000528 4A86 tst.l D6
0000052A 6704 beq +0x6 /* 00000530 */
0000052C 2006 move.l D0, D6
0000052E C18D exg D0, A5
label00000530:
00000530 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00000534 4E5E unlink A6
00000536 4E75 rts
export_106:
00000538 4E75 rts
fn0000053A:
0000053A 6104 bsr +0x6 /* 00000540 */
0000053C 0000 0000 ori.b D0, 0x0
fn00000540:
00000540 225F movea.l A1, [A7]+
00000542 4E75 rts
fn00000544:
00000544 4EBA FFF4 jsr [PC - 0xC /* 0000053A */]
00000548 228D move.l [A1], A5
0000054A 4E75 rts
fn0000054C:
0000054C 4EBA FFEC jsr [PC - 0x14 /* 0000053A */]
00000550 2011 move.l D0, [A1]
00000552 4E75 rts
fn00000554:
00000554 4E56 0000 link A6, 0
00000558 2F0C move.l -[A7], A4
0000055A 286E 0008 movea.l A4, [A6 + 0x8]
0000055E 42AC 0012 clr.l [A4 + 0x12]
00000562 2F0C move.l -[A7], A4
00000564 4EBA 3F72 jsr [PC + 0x3F72 /* 000044D8 */]
00000568 4A2C 0001 tst.b [A4 + 0x1]
0000056C 588F addq.l A7, 4
0000056E 6A1A bpl +0x1C /* 0000058A */
00000570 202C 000A move.l D0, [A4 + 0xA]
00000574 2940 0012 move.l [A4 + 0x12], D0
00000578 D1AC 0016 add.l [A4 + 0x16], D0
0000057C 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
00000582 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
00000588 6016 bra +0x18 /* 000005A0 */
label0000058A:
0000058A 2F0C move.l -[A7], A4
0000058C 4EBA 00CC jsr [PC + 0xCC /* 0000065A */]
00000590 2E8C move.l [A7], A4
00000592 4EBA 40BC jsr [PC + 0x40BC /* 00004650 */]
00000596 4A40 tst.w D0
00000598 588F addq.l A7, 4
0000059A 6704 beq +0x6 /* 000005A0 */
0000059C 70FF moveq.l D0, 0xFFFFFFFF
0000059E 6010 bra +0x12 /* 000005B0 */
label000005A0:
000005A0 53AC 0012 subq.l [A4 + 0x12], 1
000005A4 206C 000E movea.l A0, [A4 + 0xE]
000005A8 52AC 000E addq.l [A4 + 0xE], 1
000005AC 7000 moveq.l D0, 0x00
000005AE 1010 move.b D0, [A0]
label000005B0:
000005B0 285F movea.l A4, [A7]+
000005B2 4E5E unlink A6
000005B4 4E75 rts
fn000005B6:
000005B6 4E56 0000 link A6, 0
000005BA 48E7 0108 movem.l -[A7], D7,A4
000005BE 3E2E 0008 move.w D7, [A6 + 0x8]
000005C2 286E 000A movea.l A4, [A6 + 0xA]
000005C6 0814 0003 btst.b [A4], 0x3
000005CA 6642 bne +0x44 /* 0000060E */
000005CC 2F0C move.l -[A7], A4
000005CE 4EBA 3F08 jsr [PC + 0x3F08 /* 000044D8 */]
000005D2 0814 0001 btst.b [A4], 0x1
000005D6 588F addq.l A7, 4
000005D8 6706 beq +0x8 /* 000005E0 */
000005DA 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label000005E0:
000005E0 2F0C move.l -[A7], A4
000005E2 4EBA 0076 jsr [PC + 0x76 /* 0000065A */]
000005E6 4AAC 001E tst.l [A4 + 0x1E]
000005EA 588F addq.l A7, 4
000005EC 6706 beq +0x8 /* 000005F4 */
000005EE 7001 moveq.l D0, 0x01
000005F0 2940 0012 move.l [A4 + 0x12], D0
label000005F4:
000005F4 08D4 0003 bset.b [A4], 0x3
000005F8 53AC 0012 subq.l [A4 + 0x12], 1
000005FC 6710 beq +0x12 /* 0000060E */
000005FE 206C 000E movea.l A0, [A4 + 0xE]
00000602 52AC 000E addq.l [A4 + 0xE], 1
00000606 1087 move.b [A0], D7
00000608 7000 moveq.l D0, 0x00
0000060A 1007 move.b D0, D7
0000060C 6044 bra +0x46 /* 00000652 */
label0000060E:
0000060E 7000 moveq.l D0, 0x00
00000610 1007 move.b D0, D7
00000612 3E00 move.w D7, D0
00000614 206C 000E movea.l A0, [A4 + 0xE]
00000618 52AC 000E addq.l [A4 + 0xE], 1
0000061C 1080 move.b [A0], D0
0000061E 4AAC 001E tst.l [A4 + 0x1E]
00000622 671C beq +0x1E /* 00000640 */
00000624 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00000628 6D16 blt +0x18 /* 00000640 */
0000062A 202C 000E move.l D0, [A4 + 0xE]
0000062E 90AC 0006 sub.l D0, [A4 + 0x6]
00000632 B0AC 000A cmp.l D0, [A4 + 0xA]
00000636 6408 bcc +0xA /* 00000640 */
00000638 7001 moveq.l D0, 0x01
0000063A 2940 0012 move.l [A4 + 0x12], D0
0000063E 6010 bra +0x12 /* 00000650 */
label00000640:
00000640 2F0C move.l -[A7], A4
00000642 4EBA 0058 jsr [PC + 0x58 /* 0000069C */]
00000646 4A40 tst.w D0
00000648 588F addq.l A7, 4
0000064A 6704 beq +0x6 /* 00000650 */
0000064C 70FF moveq.l D0, 0xFFFFFFFF
0000064E 6002 bra +0x4 /* 00000652 */
label00000650:
00000650 3007 move.w D0, D7
label00000652:
00000652 4CDF 1080 movem.l D7,A4, [A7]+
00000656 4E5E unlink A6
00000658 4E75 rts
fn0000065A:
0000065A 4E56 0000 link A6, 0
0000065E 2F0C move.l -[A7], A4
00000660 286E 0008 movea.l A4, [A6 + 0x8]
00000664 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
0000066A 296C 000A 0012 move.l [A4 + 0x12], [A4 + 0xA]
00000670 4A6C 0004 tst.w [A4 + 0x4]
00000674 6F18 ble +0x1A /* 0000068E */
00000676 7001 moveq.l D0, 0x01
00000678 B0AC 000A cmp.l D0, [A4 + 0xA]
0000067C 6410 bcc +0x12 /* 0000068E */
0000067E 2F2C 000A move.l -[A7], [A4 + 0xA]
00000682 2F2C 0016 move.l -[A7], [A4 + 0x16]
00000686 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
0000068A 91AC 0012 sub.l [A4 + 0x12], D0
label0000068E:
0000068E 202C 0012 move.l D0, [A4 + 0x12]
00000692 D1AC 0016 add.l [A4 + 0x16], D0
00000696 285F movea.l A4, [A7]+
00000698 4E5E unlink A6
0000069A 4E75 rts
fn0000069C:
0000069C 4E56 0000 link A6, 0
000006A0 48E7 0108 movem.l -[A7], D7,A4
000006A4 286E 0008 movea.l A4, [A6 + 0x8]
000006A8 7E00 moveq.l D7, 0x00
000006AA 202C 0012 move.l D0, [A4 + 0x12]
000006AE 91AC 0016 sub.l [A4 + 0x16], D0
000006B2 0814 0003 btst.b [A4], 0x3
000006B6 6720 beq +0x22 /* 000006D8 */
000006B8 202C 000E move.l D0, [A4 + 0xE]
000006BC 90AC 0006 sub.l D0, [A4 + 0x6]
000006C0 2940 0012 move.l [A4 + 0x12], D0
000006C4 296C 0006 000E move.l [A4 + 0xE], [A4 + 0x6]
000006CA 0894 0003 bclr.b [A4], 0x3
000006CE 2F0C move.l -[A7], A4
000006D0 4EBA 3F96 jsr [PC + 0x3F96 /* 00004668 */]
000006D4 3E00 move.w D7, D0
000006D6 588F addq.l A7, 4
label000006D8:
000006D8 2F0C move.l -[A7], A4
000006DA 4EBA 000E jsr [PC + 0xE /* 000006EA */]
000006DE 3007 move.w D0, D7
000006E0 4CEE 1080 FFF8 movem.l D7,A4, [A6 - 0x8]
000006E6 4E5E unlink A6
000006E8 4E75 rts
fn000006EA:
000006EA 4E56 0000 link A6, 0
000006EE 2F0C move.l -[A7], A4
000006F0 286E 0008 movea.l A4, [A6 + 0x8]
000006F4 206C 0006 movea.l A0, [A4 + 0x6]
000006F8 D1EC 000A add.l A0, [A4 + 0xA]
000006FC 2948 000E move.l [A4 + 0xE], A0
00000700 42AC 0012 clr.l [A4 + 0x12]
00000704 08AC 0007 0001 bclr.b [A4 + 0x1], 0x7
0000070A 285F movea.l A4, [A7]+
0000070C 4E5E unlink A6
0000070E 4E75 rts
00000710 4EBA 25E8 jsr [PC + 0x25E8 /* 00002CFA */]
00000714 2F00 move.l -[A7], D0
00000716 42A7 clr.l -[A7]
00000718 4EBA 0006 jsr [PC + 0x6 /* 00000720 */]
0000071C 508F addq.l A7, 8
0000071E 4E75 rts
fn00000720:
00000720 4E56 0000 link A6, 0
00000724 2F0C move.l -[A7], A4
00000726 286E 000C movea.l A4, [A6 + 0xC]
0000072A 200C move.l D0, A4
0000072C 6604 bne +0x6 /* 00000732 */
0000072E 7000 moveq.l D0, 0x00
00000730 6052 bra +0x54 /* 00000784 */
label00000732:
00000732 4A38 08F2 tst.b [0x000008F2 /* WWExist */]
00000736 6704 beq +0x6 /* 0000073C */
00000738 4EBA 0366 jsr [PC + 0x366 /* 00000AA0 */]
label0000073C:
0000073C 2F0C move.l -[A7], A4
0000073E 4EBA 2772 jsr [PC + 0x2772 /* 00002EB2 */]
00000742 397C FFFF 0004 move.w [A4 + 0x4], 0xFFFF
00000748 4AAE 0008 tst.l [A6 + 0x8]
0000074C 588F addq.l A7, 4
0000074E 670A beq +0xC /* 0000075A */
00000750 206E 0008 movea.l A0, [A6 + 0x8]
00000754 2028 001E move.l D0, [A0 + 0x1E]
00000758 6004 bra +0x6 /* 0000075E */
label0000075A:
0000075A 4EBA 050E jsr [PC + 0x50E /* 00000C6A */]
label0000075E:
0000075E 2940 001E move.l [A4 + 0x1E], D0
00000762 4878 0200 push.l 0x200
00000766 3F3C 0001 move.w -[A7], 0x1
0000076A 42A7 clr.l -[A7]
0000076C 2F0C move.l -[A7], A4
0000076E 4EBA 2668 jsr [PC + 0x2668 /* 00002DD8 */]
00000772 41ED 037A lea.l A0, [A5 + 0x37A /* export_107 */]
00000776 2948 0022 move.l [A4 + 0x22], A0
0000077A 486D 0382 pea.l [A5 + 0x382 /* export_108 */]
0000077E 4EBA FCA0 jsr [PC - 0x360 /* 00000420 */]
00000782 200C move.l D0, A4
label00000784:
00000784 286E FFFC movea.l A4, [A6 - 0x4]
00000788 4E5E unlink A6
0000078A 4E75 rts
0000078C 4E56 FFF8 link A6, -0x0008
00000790 486E FFF8 pea.l [A6 - 0x8]
00000794 2F2E 000C move.l -[A7], [A6 + 0xC]
00000798 4EBA 06C4 jsr [PC + 0x6C4 /* 00000E5E */]
0000079C 2E80 move.l [A7], D0
0000079E 4EBA 0E9A jsr [PC + 0xE9A /* 0000163A */]
000007A2 70FF moveq.l D0, 0xFFFFFFFF
000007A4 D06E 0008 add.w D0, [A6 + 0x8]
000007A8 3B40 FB3C move.w [A5 - 0x4C4], D0
000007AC 70FF moveq.l D0, 0xFFFFFFFF
000007AE D06E 000A add.w D0, [A6 + 0xA]
000007B2 3B40 FB3A move.w [A5 - 0x4C6], D0
000007B6 486E FFF8 pea.l [A6 - 0x8]
000007BA 4EBA 0EEC jsr [PC + 0xEEC /* 000016A8 */]
000007BE 4E5E unlink A6
000007C0 4E75 rts
000007C2 4E56 FFF8 link A6, -0x0008
000007C6 486E FFF8 pea.l [A6 - 0x8]
000007CA 2F2E 0010 move.l -[A7], [A6 + 0x10]
000007CE 4EBA 068E jsr [PC + 0x68E /* 00000E5E */]
000007D2 2E80 move.l [A7], D0
000007D4 4EBA 0E64 jsr [PC + 0xE64 /* 0000163A */]
000007D8 7001 moveq.l D0, 0x01
000007DA D06D FB3C add.w D0, [A5 - 0x4C4]
000007DE 206E 0008 movea.l A0, [A6 + 0x8]
000007E2 3080 move.w [A0], D0
000007E4 7001 moveq.l D0, 0x01
000007E6 D06D FB3A add.w D0, [A5 - 0x4C6]
000007EA 226E 000C movea.l A1, [A6 + 0xC]
000007EE 3280 move.w [A1], D0
000007F0 486E FFF8 pea.l [A6 - 0x8]
000007F4 4EBA 0EB2 jsr [PC + 0xEB2 /* 000016A8 */]
000007F8 4E5E unlink A6
000007FA 4E75 rts
000007FC 4E56 FFF8 link A6, -0x0008
00000800 486E FFF8 pea.l [A6 - 0x8]
00000804 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000808 4EBA 0654 jsr [PC + 0x654 /* 00000E5E */]
0000080C 2E80 move.l [A7], D0
0000080E 4EBA 0E2A jsr [PC + 0xE2A /* 0000163A */]
00000812 3EAD FB3A move.w [A7], [A5 - 0x4C6]
00000816 4EBA 08E2 jsr [PC + 0x8E2 /* 000010FA */]
0000081A 486E FFF8 pea.l [A6 - 0x8]
0000081E 4EBA 0E88 jsr [PC + 0xE88 /* 000016A8 */]
00000822 4E5E unlink A6
00000824 4E75 rts
00000826 4E56 FFF8 link A6, -0x0008
0000082A 486E FFF8 pea.l [A6 - 0x8]
0000082E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000832 4EBA 062A jsr [PC + 0x62A /* 00000E5E */]
00000836 2E80 move.l [A7], D0
00000838 4EBA 0E00 jsr [PC + 0xE00 /* 0000163A */]
0000083C 4EBA 08FC jsr [PC + 0x8FC /* 0000113A */]
00000840 486E FFF8 pea.l [A6 - 0x8]
00000844 4EBA 0E62 jsr [PC + 0xE62 /* 000016A8 */]
00000848 4E5E unlink A6
0000084A 4E75 rts
0000084C 4E56 FFF8 link A6, -0x0008
00000850 2F07 move.l -[A7], D7
00000852 3E2E 0008 move.w D7, [A6 + 0x8]
00000856 486E FFF8 pea.l [A6 - 0x8]
0000085A 2F2E 000A move.l -[A7], [A6 + 0xA]
0000085E 4EBA 05FE jsr [PC + 0x5FE /* 00000E5E */]
00000862 2E80 move.l [A7], D0
00000864 4EBA 0DD4 jsr [PC + 0xDD4 /* 0000163A */]
00000868 0C47 0001 cmpi.w D7, 0x1
0000086C 508F addq.l A7, 8
0000086E 6D06 blt +0x8 /* 00000876 */
00000870 BE6D FB38 cmp.w D7, [A5 - 0x4C8]
00000874 6F02 ble +0x4 /* 00000878 */
label00000876:
00000876 7E01 moveq.l D7, 0x01
label00000878:
00000878 3B47 FB3E move.w [A5 - 0x4C2], D7
0000087C 486E FFF8 pea.l [A6 - 0x8]
00000880 4EBA 0E26 jsr [PC + 0xE26 /* 000016A8 */]
00000884 2E2E FFF4 move.l D7, [A6 - 0xC]
00000888 4E5E unlink A6
0000088A 4E75 rts
0000088C 4E56 FFF8 link A6, -0x0008
00000890 486E FFF8 pea.l [A6 - 0x8]
00000894 2F2E 000A move.l -[A7], [A6 + 0xA]
00000898 4EBA 05C4 jsr [PC + 0x5C4 /* 00000E5E */]
0000089C 2E80 move.l [A7], D0
0000089E 4EBA 0D9A jsr [PC + 0xD9A /* 0000163A */]
000008A2 08AD 0005 FB58 bclr.b [A5 - 0x4A8], 0x5
000008A8 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
000008AE 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
000008B4 302E 0008 move.w D0, [A6 + 0x8]
000008B8 508F addq.l A7, 8
000008BA 670E beq +0x10 /* 000008CA */
000008BC 6B22 bmi +0x24 /* 000008E0 */
000008BE 5740 subq.w D0, 3
000008C0 6718 beq +0x1A /* 000008DA */
000008C2 6A1C bpl +0x1E /* 000008E0 */
000008C4 5240 addq.w D0, 1
000008C6 6A18 bpl +0x1A /* 000008E0 */
000008C8 6008 bra +0xA /* 000008D2 */
label000008CA:
000008CA 08ED 0007 FB58 bset.b [A5 - 0x4A8], 0x7
000008D0 600E bra +0x10 /* 000008E0 */
label000008D2:
000008D2 08ED 0006 FB58 bset.b [A5 - 0x4A8], 0x6
000008D8 6006 bra +0x8 /* 000008E0 */
label000008DA:
000008DA 08ED 0005 FB58 bset.b [A5 - 0x4A8], 0x5
label000008E0:
000008E0 486E FFF8 pea.l [A6 - 0x8]
000008E4 4EBA 0DC2 jsr [PC + 0xDC2 /* 000016A8 */]
000008E8 4E5E unlink A6
000008EA 4E75 rts
000008EC 4E56 FFF8 link A6, -0x0008
000008F0 2F0C move.l -[A7], A4
000008F2 2F2E 000A move.l -[A7], [A6 + 0xA]
000008F6 4EBA 0566 jsr [PC + 0x566 /* 00000E5E */]
000008FA 2840 movea.l A4, D0
000008FC 486E FFF8 pea.l [A6 - 0x8]
00000900 2F0C move.l -[A7], A4
00000902 4EBA 0D36 jsr [PC + 0xD36 /* 0000163A */]
00000906 4A6E 0008 tst.w [A6 + 0x8]
0000090A 4FEF 000C lea.l A7, [A7 + 0xC]
0000090E 672A beq +0x2C /* 0000093A */
00000910 4AAC 0068 tst.l [A4 + 0x68]
00000914 661C bne +0x1E /* 00000932 */
00000916 4878 0034 push.l 0x34 /* '4' */
0000091A 4EBA F6E4 jsr [PC - 0x91C /* 00000000 */]
0000091E 2940 0068 move.l [A4 + 0x68], D0
00000922 2EAC 0068 move.l [A7], [A4 + 0x68]
00000926 A8EA syscall SetStdProcs
00000928 41ED 038A lea.l A0, [A5 + 0x38A /* export_109 */]
0000092C 226C 0068 movea.l A1, [A4 + 0x68]
00000930 2288 move.l [A1], A0
label00000932:
00000932 08ED 0003 FB58 bset.b [A5 - 0x4A8], 0x3
00000938 601A bra +0x1C /* 00000954 */
label0000093A:
0000093A 4AAC 0068 tst.l [A4 + 0x68]
0000093E 670E beq +0x10 /* 0000094E */
00000940 2F2C 0068 move.l -[A7], [A4 + 0x68]
00000944 4EBA F8A2 jsr [PC - 0x75E /* 000001E8 */]
00000948 42AC 0068 clr.l [A4 + 0x68]
0000094C 588F addq.l A7, 4
label0000094E:
0000094E 08AD 0003 FB58 bclr.b [A5 - 0x4A8], 0x3
label00000954:
00000954 4267 clr.w -[A7]
00000956 4EBA 07A2 jsr [PC + 0x7A2 /* 000010FA */]
0000095A 486E FFF8 pea.l [A6 - 0x8]
0000095E 4EBA 0D48 jsr [PC + 0xD48 /* 000016A8 */]
00000962 286E FFF4 movea.l A4, [A6 - 0xC]
00000966 4E5E unlink A6
00000968 4E75 rts
fn0000096A:
0000096A 4E56 0000 link A6, 0
0000096E 2F0C move.l -[A7], A4
00000970 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000974 4EBA 04E8 jsr [PC + 0x4E8 /* 00000E5E */]
00000978 2840 movea.l A4, D0
0000097A 4297 clr.l [A7]
0000097C A924 syscall FrontWindow
0000097E B9DF cmpa.l A4, [A7]+
00000980 6704 beq +0x6 /* 00000986 */
00000982 2F0C move.l -[A7], A4
00000984 A91F syscall SelectWindow
label00000986:
00000986 2F0C move.l -[A7], A4
00000988 A915 syscall ShowWindow
0000098A 285F movea.l A4, [A7]+
0000098C 4E5E unlink A6
0000098E 4E75 rts
00000990 4E56 0000 link A6, 0
00000994 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000998 4EBA 04C4 jsr [PC + 0x4C4 /* 00000E5E */]
0000099C 2E80 move.l [A7], D0
0000099E A916 syscall HideWindow
000009A0 4E5E unlink A6
000009A2 4E75 rts
fn000009A4:
000009A4 4E56 FFF8 link A6, -0x0008
000009A8 486E FFF8 pea.l [A6 - 0x8]
000009AC 2F2E 000E move.l -[A7], [A6 + 0xE]
000009B0 4EBA 04AC jsr [PC + 0x4AC /* 00000E5E */]
000009B4 2E80 move.l [A7], D0
000009B6 4EBA 0C82 jsr [PC + 0xC82 /* 0000163A */]
000009BA 4EBA 0484 jsr [PC + 0x484 /* 00000E40 */]
000009BE 4A6E 000C tst.w [A6 + 0xC]
000009C2 508F addq.l A7, 8
000009C4 6708 beq +0xA /* 000009CE */
000009C6 41ED FB7C lea.l A0, [A5 - 0x484]
000009CA 2008 move.l D0, A0
000009CC 6006 bra +0x8 /* 000009D4 */
label000009CE:
000009CE 41ED FB7E lea.l A0, [A5 - 0x482]
000009D2 2008 move.l D0, A0
label000009D4:
000009D4 2F00 move.l -[A7], D0
000009D6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000009DA 4EBA 1ADA jsr [PC + 0x1ADA /* 000024B6 */]
000009DE 2B40 FB54 move.l [A5 - 0x4AC], D0
000009E2 08AD 0002 FB58 bclr.b [A5 - 0x4A8], 0x2
000009E8 486E FFF8 pea.l [A6 - 0x8]
000009EC 4EBA 0CBA jsr [PC + 0xCBA /* 000016A8 */]
000009F0 4E5E unlink A6
000009F2 4E75 rts
000009F4 4E56 FFF8 link A6, -0x0008
000009F8 486E FFF8 pea.l [A6 - 0x8]
000009FC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00000A00 4EBA 045C jsr [PC + 0x45C /* 00000E5E */]
00000A04 2E80 move.l [A7], D0
00000A06 4EBA 0C32 jsr [PC + 0xC32 /* 0000163A */]
00000A0A 4EBA 0434 jsr [PC + 0x434 /* 00000E40 */]
00000A0E 4EBA 19BA jsr [PC + 0x19BA /* 000023CA */]
00000A12 2B40 FB54 move.l [A5 - 0x4AC], D0
00000A16 08ED 0002 FB58 bset.b [A5 - 0x4A8], 0x2
00000A1C 486E FFF8 pea.l [A6 - 0x8]
00000A20 4EBA 0C86 jsr [PC + 0xC86 /* 000016A8 */]
00000A24 4E5E unlink A6
00000A26 4E75 rts
fn00000A28:
00000A28 4E56 FFD8 link A6, -0x0028
00000A2C 2F0C move.l -[A7], A4
00000A2E 99CC sub.l A4, A4
00000A30 4A2D FD26 tst.b [A5 - 0x2DA]
00000A34 6A0E bpl +0x10 /* 00000A44 */
00000A36 486D FD26 pea.l [A5 - 0x2DA]
00000A3A 2F0C move.l -[A7], A4
00000A3C 4EBA FCE2 jsr [PC - 0x31E /* 00000720 */]
00000A40 2840 movea.l A4, D0
00000A42 508F addq.l A7, 8
label00000A44:
00000A44 4A2D FD4C tst.b [A5 - 0x2B4]
00000A48 6A0E bpl +0x10 /* 00000A58 */
00000A4A 486D FD4C pea.l [A5 - 0x2B4]
00000A4E 2F0C move.l -[A7], A4
00000A50 4EBA FCCE jsr [PC - 0x332 /* 00000720 */]
00000A54 2840 movea.l A4, D0
00000A56 508F addq.l A7, 8
label00000A58:
00000A58 4A2D FD72 tst.b [A5 - 0x28E]
00000A5C 6A0E bpl +0x10 /* 00000A6C */
00000A5E 486D FD72 pea.l [A5 - 0x28E]
00000A62 2F0C move.l -[A7], A4
00000A64 4EBA FCBA jsr [PC - 0x346 /* 00000720 */]
00000A68 2840 movea.l A4, D0
00000A6A 508F addq.l A7, 8
label00000A6C:
00000A6C 4A2D FB2C tst.b [A5 - 0x4D4]
00000A70 6728 beq +0x2A /* 00000A9A */
00000A72 4878 0910 push.l 0x910
00000A76 486D FB80 pea.l [A5 - 0x480]
00000A7A 486E FFD8 pea.l [A6 - 0x28]
00000A7E 4EBA 3B40 jsr [PC + 0x3B40 /* 000045C0 */]
00000A82 486D FD4C pea.l [A5 - 0x2B4]
00000A86 3F3C 0001 move.w -[A7], 0x1
00000A8A 486E FFD8 pea.l [A6 - 0x28]
00000A8E 4EBA FF14 jsr [PC - 0xEC /* 000009A4 */]
00000A92 426D FAEC clr.w [A5 - 0x514]
00000A96 4FEF 0016 lea.l A7, [A7 + 0x16]
label00000A9A:
00000A9A 285F movea.l A4, [A7]+
00000A9C 4E5E unlink A6
00000A9E 4E75 rts
fn00000AA0:
00000AA0 48E7 0108 movem.l -[A7], D7,A4
00000AA4 4A78 028E tst.w [0x0000028E /* ROM85 */]
00000AA8 6D02 blt +0x4 /* 00000AAC */
00000AAA A063 syscall MaxApplZone
label00000AAC:
00000AAC 7E00 moveq.l D7, 0x00
00000AAE 6004 bra +0x6 /* 00000AB4 */
label00000AB0:
00000AB0 A036 syscall MoreMasters
00000AB2 5247 addq.w D7, 1
label00000AB4:
00000AB4 0C47 000A cmpi.w D7, 0xA /* '\n' */
00000AB8 6DF6 blt -0x8 /* 00000AB0 */
00000ABA 203C 0000 00CE move.l D0, 0xCE
00000AC0 A11E syscall NewPtr, flags=1
00000AC2 4868 00CA pea.l [A0 + 0xCA]
00000AC6 A86E syscall InitGraf
00000AC8 A8FE syscall InitFonts
00000ACA A912 syscall InitWindows
00000ACC A9CC syscall TEInit
00000ACE 42A7 clr.l -[A7]
00000AD0 A97B syscall InitDialogs
00000AD2 A930 syscall InitMenus
00000AD4 42A7 clr.l -[A7]
00000AD6 3F3C 0001 move.w -[A7], 0x1
00000ADA 486D FB88 pea.l [A5 - 0x478]
00000ADE A931 syscall NewMenu
00000AE0 201F move.l D0, [A7]+
00000AE2 2B40 FB60 move.l [A5 - 0x4A0], D0
00000AE6 2F00 move.l -[A7], D0
00000AE8 4267 clr.w -[A7]
00000AEA A935 syscall InsertMenu
00000AEC 2F2D FB60 move.l -[A7], [A5 - 0x4A0]
00000AF0 2F3C 4452 5652 move.l -[A7], 0x44525652 /* 'DRVR' */
00000AF6 A94D syscall AppendResMenu/AddResMenu
00000AF8 42A7 clr.l -[A7]
00000AFA 3F3C 0002 move.w -[A7], 0x2
00000AFE 486D FB8A pea.l [A5 - 0x476]
00000B02 A931 syscall NewMenu
00000B04 285F movea.l A4, [A7]+
00000B06 2F0C move.l -[A7], A4
00000B08 4267 clr.w -[A7]
00000B0A A935 syscall InsertMenu
00000B0C 2F0C move.l -[A7], A4
00000B0E 486D FB90 pea.l [A5 - 0x470]
00000B12 A933 syscall AppendMenu
00000B14 42A7 clr.l -[A7]
00000B16 3F3C 0003 move.w -[A7], 0x3
00000B1A 486D FB98 pea.l [A5 - 0x468]
00000B1E A931 syscall NewMenu
00000B20 285F movea.l A4, [A7]+
00000B22 2F0C move.l -[A7], A4
00000B24 4267 clr.w -[A7]
00000B26 A935 syscall InsertMenu
00000B28 2F0C move.l -[A7], A4
00000B2A 486D FB9E pea.l [A5 - 0x462]
00000B2E A933 syscall AppendMenu
00000B30 A937 syscall DrawMenuBar
00000B32 2F3C 0000 FFFF move.l -[A7], 0xFFFF
00000B38 201F move.l D0, [A7]+
00000B3A A032 syscall FlushEvents
00000B3C A850 syscall InitCursor
00000B3E 1B7C 0001 FB5A move.b [A5 - 0x4A6], 0x1
00000B44 4CDF 1080 movem.l D7,A4, [A7]+
00000B48 4E75 rts
fn00000B4A:
00000B4A 4E56 FEE8 link A6, -0x0118
00000B4E 2F07 move.l -[A7], D7
00000B50 4AAD FB48 tst.l [A5 - 0x4B8]
00000B54 6746 beq +0x48 /* 00000B9C */
00000B56 206D FB48 movea.l A0, [A5 - 0x4B8]
00000B5A 202D FB4C move.l D0, [A5 - 0x4B4]
00000B5E 52AD FB4C addq.l [A5 - 0x4B4], 1
00000B62 D090 add.l D0, [A0]
00000B64 2040 movea.l A0, D0
00000B66 7E00 moveq.l D7, 0x00
00000B68 1E10 move.b D7, [A0]
00000B6A 202D FB4C move.l D0, [A5 - 0x4B4]
00000B6E B0AD FB50 cmp.l D0, [A5 - 0x4B0]
00000B72 660A bne +0xC /* 00000B7E */
00000B74 206D FB48 movea.l A0, [A5 - 0x4B8]
00000B78 A023 syscall DisposHandle/DisposeHandle
00000B7A 42AD FB48 clr.l [A5 - 0x4B8]
label00000B7E:
00000B7E 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00000B84 6704 beq +0x6 /* 00000B8A */
00000B86 0247 007F andi.w D7, 0x7F
label00000B8A:
00000B8A 0C47 0009 cmpi.w D7, 0x9 /* '\t' */
00000B8E 6602 bne +0x4 /* 00000B92 */
00000B90 7E20 moveq.l D7, 0x20
label00000B92:
00000B92 3F07 move.w -[A7], D7
00000B94 4EBA 1154 jsr [PC + 0x1154 /* 00001CEA */]
00000B98 6000 00C8 bra +0xCA /* 00000C62 */
label00000B9C:
00000B9C A9B4 syscall SystemTask
00000B9E 4238 015C clr.b [0x0000015C /* SEvtEnb */]
00000BA2 4227 clr.b -[A7]
00000BA4 3F3C FFFF move.w -[A7], 0xFFFF
00000BA8 486E FFF0 pea.l [A6 - 0x10]
00000BAC A970 syscall GetNextEvent
00000BAE 4A1F tst.b [A7]+
00000BB0 6710 beq +0x12 /* 00000BC2 */
00000BB2 4227 clr.b -[A7]
00000BB4 486E FFF0 pea.l [A6 - 0x10]
00000BB8 A9B2 syscall SystemEvent
00000BBA 4A1F tst.b [A7]+
00000BBC 671C beq +0x1E /* 00000BDA */
00000BBE 6000 00A2 bra +0xA4 /* 00000C62 */
label00000BC2:
00000BC2 4A6E FFF0 tst.w [A6 - 0x10]
00000BC6 6600 009A bne +0x9C /* 00000C62 */
00000BCA 42A7 clr.l -[A7]
00000BCC A924 syscall FrontWindow
00000BCE 4A9F tst.l [A7]+
00000BD0 6600 0090 bne +0x92 /* 00000C62 */
00000BD4 A850 syscall InitCursor
00000BD6 6000 008A bra +0x8C /* 00000C62 */
label00000BDA:
00000BDA 0C6E 0001 FFF0 cmpi.w [A6 - 0x10], 0x1
00000BE0 6600 0080 bne +0x82 /* 00000C62 */
00000BE4 4267 clr.w -[A7]
00000BE6 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000BEA 486E FFEC pea.l [A6 - 0x14]
00000BEE A92C syscall FindWindow
00000BF0 301F move.w D0, [A7]+
00000BF2 676E beq +0x70 /* 00000C62 */
00000BF4 6B6C bmi +0x6E /* 00000C62 */
00000BF6 5540 subq.w D0, 2
00000BF8 6712 beq +0x14 /* 00000C0C */
00000BFA 6A66 bpl +0x68 /* 00000C62 */
00000BFC A850 syscall InitCursor
00000BFE 42A7 clr.l -[A7]
00000C00 2F2E FFFA move.l -[A7], [A6 - 0x6]
00000C04 A93D syscall MenuSelect
00000C06 2D5F FFE8 move.l [A6 - 0x18], [A7]+
00000C0A 600C bra +0xE /* 00000C18 */
label00000C0C:
00000C0C 486E FFF0 pea.l [A6 - 0x10]
00000C10 2F2E FFEC move.l -[A7], [A6 - 0x14]
00000C14 A9B3 syscall SystemClick
00000C16 604A bra +0x4C /* 00000C62 */
label00000C18:
00000C18 302E FFE8 move.w D0, [A6 - 0x18]
00000C1C 6740 beq +0x42 /* 00000C5E */
00000C1E 6B3E bmi +0x40 /* 00000C5E */
00000C20 5740 subq.w D0, 3
00000C22 672C beq +0x2E /* 00000C50 */
00000C24 6A38 bpl +0x3A /* 00000C5E */
00000C26 5240 addq.w D0, 1
00000C28 6A1A bpl +0x1C /* 00000C44 */
00000C2A 2F2D FB60 move.l -[A7], [A5 - 0x4A0]
00000C2E 3F2E FFEA move.w -[A7], [A6 - 0x16]
00000C32 486E FEE8 pea.l [A6 - 0x118]
00000C36 A946 syscall GetMenuItemText/GetItem
00000C38 4267 clr.w -[A7]
00000C3A 486E FEE8 pea.l [A6 - 0x118]
00000C3E A9B6 syscall OpenDeskAcc
00000C40 548F addq.l A7, 2
00000C42 601A bra +0x1C /* 00000C5E */
label00000C44:
00000C44 426D FAEC clr.w [A5 - 0x514]
00000C48 4267 clr.w -[A7]
00000C4A 4EBA F81A jsr [PC - 0x7E6 /* 00000466 */]
00000C4E 548F addq.l A7, 2
label00000C50:
00000C50 4227 clr.b -[A7]
00000C52 70FF moveq.l D0, 0xFFFFFFFF
00000C54 D06E FFEA add.w D0, [A6 - 0x16]
00000C58 3F00 move.w -[A7], D0
00000C5A A9C2 syscall SysEdit
00000C5C 548F addq.l A7, 2
label00000C5E:
00000C5E 4267 clr.w -[A7]
00000C60 A938 syscall HiliteMenu
label00000C62:
00000C62 2E2E FEE4 move.l D7, [A6 - 0x11C]
00000C66 4E5E unlink A6
00000C68 4E75 rts
fn00000C6A:
00000C6A 4E56 FFE8 link A6, -0x0018
00000C6E 48E7 0018 movem.l -[A7], A3,A4
00000C72 486E FFFC pea.l [A6 - 0x4]
00000C76 A874 syscall GetPort
00000C78 42A7 clr.l -[A7]
00000C7A 4EBA 0A54 jsr [PC + 0xA54 /* 000016D0 */]
00000C7E 588F addq.l A7, 4
00000C80 42A7 clr.l -[A7]
00000C82 42A7 clr.l -[A7]
00000C84 486D FB18 pea.l [A5 - 0x4E8]
00000C88 2F2D FADC move.l -[A7], [A5 - 0x524]
00000C8C 4227 clr.b -[A7]
00000C8E 3F2D FAE0 move.w -[A7], [A5 - 0x520]
00000C92 4878 FFFF push.l 0xFFFF
00000C96 4227 clr.b -[A7]
00000C98 42A7 clr.l -[A7]
00000C9A A913 syscall NewWindow
00000C9C 285F movea.l A4, [A7]+
00000C9E 2F0C move.l -[A7], A4
00000CA0 3F2D FADA move.w -[A7], [A5 - 0x526]
00000CA4 3F2D FAD8 move.w -[A7], [A5 - 0x528]
00000CA8 4227 clr.b -[A7]
00000CAA A91B syscall MoveWindow
00000CAC 2B4C FB2E move.l [A5 - 0x4D2], A4
00000CB0 2F0C move.l -[A7], A4
00000CB2 A873 syscall SetPort
00000CB4 3F2D FAE2 move.w -[A7], [A5 - 0x51E]
00000CB8 A887 syscall TextFont
00000CBA 3F2D FAE4 move.w -[A7], [A5 - 0x51C]
00000CBE A88A syscall TextSize
00000CC0 3F2D FAE6 move.w -[A7], [A5 - 0x51A]
00000CC4 A888 syscall TextFace
00000CC6 486E FFE8 pea.l [A6 - 0x18]
00000CCA A88B syscall GetFontInfo
00000CCC 302E FFE8 move.w D0, [A6 - 0x18]
00000CD0 D06E FFEA add.w D0, [A6 - 0x16]
00000CD4 D06E FFEE add.w D0, [A6 - 0x12]
00000CD8 3B40 FB32 move.w [A5 - 0x4CE], D0
00000CDC 3B6E FFEC FB34 move.w [A5 - 0x4CC], [A6 - 0x14]
00000CE2 3B7C 0008 FB3E move.w [A5 - 0x4C2], 0x8
00000CE8 08AD 0003 FB58 bclr.b [A5 - 0x4A8], 0x3
00000CEE 08AD 0004 FB58 bclr.b [A5 - 0x4A8], 0x4
00000CF4 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
00000CFA 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
00000D00 08ED 0005 FB58 bset.b [A5 - 0x4A8], 0x5
00000D06 42AD FB48 clr.l [A5 - 0x4B8]
00000D0A 42AD FB54 clr.l [A5 - 0x4AC]
00000D0E 426E FFF2 clr.w [A6 - 0xE]
00000D12 426E FFF0 clr.w [A6 - 0x10]
00000D16 302D FAE8 move.w D0, [A5 - 0x518]
00000D1A 3B40 FB36 move.w [A5 - 0x4CA], D0
00000D1E C1ED FB32 muls.w D0, [A5 - 0x4CE]
00000D22 5040 addq.w D0, 8
00000D24 3D40 FFF4 move.w [A6 - 0xC], D0
00000D28 302D FAEA move.w D0, [A5 - 0x516]
00000D2C 3B40 FB38 move.w [A5 - 0x4C8], D0
00000D30 C1ED FB34 muls.w D0, [A5 - 0x4CC]
00000D34 5040 addq.w D0, 8
00000D36 3D40 FFF6 move.w [A6 - 0xA], D0
00000D3A 2F0C move.l -[A7], A4
00000D3C 3F2E FFF6 move.w -[A7], [A6 - 0xA]
00000D40 3F2E FFF4 move.w -[A7], [A6 - 0xC]
00000D44 4227 clr.b -[A7]
00000D46 A91D syscall SizeWindow
00000D48 42A7 clr.l -[A7]
00000D4A 486E FFF0 pea.l [A6 - 0x10]
00000D4E 486E FFF0 pea.l [A6 - 0x10]
00000D52 A9D2 syscall TENew
00000D54 2B5F FB40 move.l [A5 - 0x4C0], [A7]+
00000D58 206D FB40 movea.l A0, [A5 - 0x4C0]
00000D5C 2050 movea.l A0, [A0]
00000D5E 317C FFFF 0048 move.w [A0 + 0x48], 0xFFFF
00000D64 70FF moveq.l D0, 0xFFFFFFFF
00000D66 D06D FB36 add.w D0, [A5 - 0x4CA]
00000D6A 3B40 FB3A move.w [A5 - 0x4C6], D0
00000D6E 4267 clr.w -[A7]
00000D70 4EBA 0388 jsr [PC + 0x388 /* 000010FA */]
00000D74 548F addq.l A7, 2
00000D76 2B6E FFF4 FB44 move.l [A5 - 0x4BC], [A6 - 0xC]
00000D7C 526D FB44 addq.w [A5 - 0x4BC], 1
00000D80 526D FB46 addq.w [A5 - 0x4BA], 1
00000D84 486E FFF0 pea.l [A6 - 0x10]
00000D88 A870 syscall LocalToGlobal
00000D8A 486E FFF4 pea.l [A6 - 0xC]
00000D8E A870 syscall LocalToGlobal
00000D90 206C 0082 movea.l A0, [A4 + 0x82]
00000D94 2650 movea.l A3, [A0]
00000D96 276E FFF0 0008 move.l [A3 + 0x8], [A6 - 0x10]
00000D9C 276E FFF4 000C move.l [A3 + 0xC], [A6 - 0xC]
00000DA2 26AB 0008 move.l [A3], [A3 + 0x8]
00000DA6 276B 000C 0004 move.l [A3 + 0x4], [A3 + 0xC]
00000DAC 41ED FB2E lea.l A0, [A5 - 0x4D2]
00000DB0 702C moveq.l D0, 0x2C
00000DB2 A9E3 syscall PtrToHand
00000DB4 2948 0098 move.l [A4 + 0x98], A0
00000DB8 4A6D FB5E tst.w [A5 - 0x4A2]
00000DBC 6608 bne +0xA /* 00000DC6 */
00000DBE 4EBA 0A9C jsr [PC + 0xA9C /* 0000185C */]
00000DC2 3B40 FB5E move.w [A5 - 0x4A2], D0
label00000DC6:
00000DC6 396D FB5E 006C move.w [A4 + 0x6C], [A5 - 0x4A2]
00000DCC 4EBA 080E jsr [PC + 0x80E /* 000015DC */]
00000DD0 2F0C move.l -[A7], A4
00000DD2 A915 syscall ShowWindow
00000DD4 2F2E FFFC move.l -[A7], [A6 - 0x4]
00000DD8 A873 syscall SetPort
00000DDA 200C move.l D0, A4
00000DDC 4CDF 1800 movem.l A3,A4, [A7]+
00000DE0 4E5E unlink A6
00000DE2 4E75 rts
fn00000DE4:
00000DE4 48E7 0308 movem.l -[A7], D6,D7,A4
00000DE8 7E00 moveq.l D7, 0x00
00000DEA 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000DEE 7C0F moveq.l D6, 0x0F
00000DF0 6016 bra +0x18 /* 00000E08 */
label00000DF2:
00000DF2 202C 001E move.l D0, [A4 + 0x1E]
00000DF6 B0AD FB2E cmp.l D0, [A5 - 0x4D2]
00000DFA 6608 bne +0xA /* 00000E04 */
00000DFC 3007 move.w D0, D7
00000DFE 5247 addq.w D7, 1
00000E00 4A40 tst.w D0
00000E02 6636 bne +0x38 /* 00000E3A */
label00000E04:
00000E04 49EC 0026 lea.l A4, [A4 + 0x26]
label00000E08:
00000E08 3006 move.w D0, D6
00000E0A 5346 subq.w D6, 1
00000E0C 4A40 tst.w D0
00000E0E 66E2 bne -0x1C /* 00000DF2 */
00000E10 4EBA 002E jsr [PC + 0x2E /* 00000E40 */]
00000E14 4AAD FB48 tst.l [A5 - 0x4B8]
00000E18 6706 beq +0x8 /* 00000E20 */
00000E1A 206D FB48 movea.l A0, [A5 - 0x4B8]
00000E1E A023 syscall DisposHandle/DisposeHandle
label00000E20:
00000E20 206D FB2E movea.l A0, [A5 - 0x4D2]
00000E24 2068 0098 movea.l A0, [A0 + 0x98]
00000E28 A023 syscall DisposHandle/DisposeHandle
00000E2A 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00000E2E A9CD syscall TEDispose
00000E30 2F2D FB2E move.l -[A7], [A5 - 0x4D2]
00000E34 A914 syscall DisposeWindow
00000E36 42AD FB2E clr.l [A5 - 0x4D2]
label00000E3A:
00000E3A 4CDF 10C0 movem.l D6,D7,A4, [A7]+
00000E3E 4E75 rts
fn00000E40:
00000E40 4AAD FB54 tst.l [A5 - 0x4AC]
00000E44 6716 beq +0x18 /* 00000E5C */
00000E46 082D 0002 FB58 btst.b [A5 - 0x4A8], 0x2
00000E4C 6704 beq +0x6 /* 00000E52 */
00000E4E 4EBA 11C0 jsr [PC + 0x11C0 /* 00002010 */]
label00000E52:
00000E52 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
00000E56 4EBA 205A jsr [PC + 0x205A /* 00002EB2 */]
00000E5A 588F addq.l A7, 4
label00000E5C:
00000E5C 4E75 rts
fn00000E5E:
00000E5E 4E56 0000 link A6, 0
00000E62 48E7 0118 movem.l -[A7], D7,A3,A4
00000E66 286E 0008 movea.l A4, [A6 + 0x8]
00000E6A 2F0C move.l -[A7], A4
00000E6C 4EBA 366A jsr [PC + 0x366A /* 000044D8 */]
00000E70 2040 movea.l A0, D0
00000E72 2668 001E movea.l A3, [A0 + 0x1E]
00000E76 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000E7A 7E0F moveq.l D7, 0x0F
00000E7C 588F addq.l A7, 4
00000E7E 6018 bra +0x1A /* 00000E98 */
label00000E80:
00000E80 0814 0003 btst.b [A4], 0x3
00000E84 670E beq +0x10 /* 00000E94 */
00000E86 B7EC 001E cmpa.l A3, [A4 + 0x1E]
00000E8A 6608 bne +0xA /* 00000E94 */
00000E8C 2F0C move.l -[A7], A4
00000E8E 4EBA 1FCE jsr [PC + 0x1FCE /* 00002E5E */]
00000E92 588F addq.l A7, 4
label00000E94:
00000E94 49EC 0026 lea.l A4, [A4 + 0x26]
label00000E98:
00000E98 3007 move.w D0, D7
00000E9A 5347 subq.w D7, 1
00000E9C 4A40 tst.w D0
00000E9E 66E0 bne -0x1E /* 00000E80 */
00000EA0 200B move.l D0, A3
00000EA2 4CDF 1880 movem.l D7,A3,A4, [A7]+
00000EA6 4E5E unlink A6
00000EA8 4E75 rts
export_108:
00000EAA 48E7 0108 movem.l -[A7], D7,A4
00000EAE 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000EB2 7E0F moveq.l D7, 0x0F
00000EB4 6018 bra +0x1A /* 00000ECE */
label00000EB6:
00000EB6 0814 0003 btst.b [A4], 0x3
00000EBA 670E beq +0x10 /* 00000ECA */
00000EBC 4AAC 001E tst.l [A4 + 0x1E]
00000EC0 6708 beq +0xA /* 00000ECA */
00000EC2 2F0C move.l -[A7], A4
00000EC4 4EBA 1F98 jsr [PC + 0x1F98 /* 00002E5E */]
00000EC8 588F addq.l A7, 4
label00000ECA:
00000ECA 49EC 0026 lea.l A4, [A4 + 0x26]
label00000ECE:
00000ECE 3007 move.w D0, D7
00000ED0 5347 subq.w D7, 1
00000ED2 4A40 tst.w D0
00000ED4 66E0 bne -0x1E /* 00000EB6 */
00000ED6 4A2D FB5A tst.b [A5 - 0x4A6]
00000EDA 674E beq +0x50 /* 00000F2A */
00000EDC 4A6D FAEC tst.w [A5 - 0x514]
00000EE0 6748 beq +0x4A /* 00000F2A */
00000EE2 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000EE6 7E0F moveq.l D7, 0x0F
00000EE8 6038 bra +0x3A /* 00000F22 */
label00000EEA:
00000EEA 4AAC 001E tst.l [A4 + 0x1E]
00000EEE 672E beq +0x30 /* 00000F1E */
00000EF0 2F2C 001E move.l -[A7], [A4 + 0x1E]
00000EF4 486D FBC4 pea.l [A5 - 0x43C]
00000EF8 A91A syscall SetWTitle
00000EFA 08AD 0005 FB58 bclr.b [A5 - 0x4A8], 0x5
00000F00 08AD 0006 FB58 bclr.b [A5 - 0x4A8], 0x6
00000F06 08AD 0007 FB58 bclr.b [A5 - 0x4A8], 0x7
00000F0C 42A7 clr.l -[A7]
00000F0E 2F0C move.l -[A7], A4
00000F10 4EBA 1EA0 jsr [PC + 0x1EA0 /* 00002DB2 */]
00000F14 2E8C move.l [A7], A4
00000F16 4EBA 1D54 jsr [PC + 0x1D54 /* 00002C6C */]
00000F1A 508F addq.l A7, 8
00000F1C 600C bra +0xE /* 00000F2A */
label00000F1E:
00000F1E 49EC 0026 lea.l A4, [A4 + 0x26]
label00000F22:
00000F22 3007 move.w D0, D7
00000F24 5347 subq.w D7, 1
00000F26 4A40 tst.w D0
00000F28 66C0 bne -0x3E /* 00000EEA */
label00000F2A:
00000F2A 49ED FD26 lea.l A4, [A5 - 0x2DA]
00000F2E 7E0F moveq.l D7, 0x0F
00000F30 6012 bra +0x14 /* 00000F44 */
label00000F32:
00000F32 4AAC 001E tst.l [A4 + 0x1E]
00000F36 6708 beq +0xA /* 00000F40 */
00000F38 2F0C move.l -[A7], A4
00000F3A 4EBA 1F76 jsr [PC + 0x1F76 /* 00002EB2 */]
00000F3E 588F addq.l A7, 4
label00000F40:
00000F40 49EC 0026 lea.l A4, [A4 + 0x26]
label00000F44:
00000F44 3007 move.w D0, D7
00000F46 5347 subq.w D7, 1
00000F48 4A40 tst.w D0
00000F4A 66E6 bne -0x18 /* 00000F32 */
00000F4C 4CDF 1080 movem.l D7,A4, [A7]+
00000F50 4E75 rts
export_107:
00000F52 4E56 FFF8 link A6, -0x0008
00000F56 48E7 0108 movem.l -[A7], D7,A4
00000F5A 286E 0008 movea.l A4, [A6 + 0x8]
00000F5E 7E00 moveq.l D7, 0x00
00000F60 4A6D F9FE tst.w [A5 - 0x602]
00000F64 6706 beq +0x8 /* 00000F6C */
00000F66 7000 moveq.l D0, 0x00
00000F68 6000 0114 bra +0x116 /* 0000107E */
label00000F6C:
00000F6C 486E FFF8 pea.l [A6 - 0x8]
00000F70 2F2C 001E move.l -[A7], [A4 + 0x1E]
00000F74 4EBA 06C4 jsr [PC + 0x6C4 /* 0000163A */]
00000F78 302E 000C move.w D0, [A6 + 0xC]
00000F7C 508F addq.l A7, 8
00000F7E 6712 beq +0x14 /* 00000F92 */
00000F80 6B00 00CA bmi +0xCC /* 0000104C */
00000F84 5540 subq.w D0, 2
00000F86 6700 00B2 beq +0xB4 /* 0000103A */
00000F8A 6A00 00C0 bpl +0xC2 /* 0000104C */
00000F8E 6000 009A bra +0x9C /* 0000102A */
label00000F92:
00000F92 202C 000E move.l D0, [A4 + 0xE]
00000F96 2B40 FB6C move.l [A5 - 0x494], D0
00000F9A 2B40 FB68 move.l [A5 - 0x498], D0
00000F9E 4A2D FB5A tst.b [A5 - 0x4A6]
00000FA2 6770 beq +0x72 /* 00001014 */
00000FA4 2F0C move.l -[A7], A4
00000FA6 4EBA F9C2 jsr [PC - 0x63E /* 0000096A */]
00000FAA 08ED 0004 FB58 bset.b [A5 - 0x4A8], 0x4
00000FB0 2B6C 0012 FB70 move.l [A5 - 0x490], [A4 + 0x12]
00000FB6 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00000FBC 588F addq.l A7, 4
00000FBE 6720 beq +0x22 /* 00000FE0 */
00000FC0 306D FB3C movea.w A0, [A5 - 0x4C4]
00000FC4 326D FB38 movea.w A1, [A5 - 0x4C8]
00000FC8 D1ED FB70 add.l A0, [A5 - 0x490]
00000FCC B3C8 cmpa.l A1, A0
00000FCE 6410 bcc +0x12 /* 00000FE0 */
00000FD0 302D FB38 move.w D0, [A5 - 0x4C8]
00000FD4 906D FB3C sub.w D0, [A5 - 0x4C4]
00000FD8 5240 addq.w D0, 1
00000FDA 3040 movea.w A0, D0
00000FDC 2B48 FB70 move.l [A5 - 0x490], A0
label00000FE0:
00000FE0 4A2D FB58 tst.b [A5 - 0x4A8]
00000FE4 6A04 bpl +0x6 /* 00000FEA */
00000FE6 7000 moveq.l D0, 0x00
00000FE8 6008 bra +0xA /* 00000FF2 */
label00000FEA:
00000FEA 4267 clr.w -[A7]
00000FEC 4EBA 04A6 jsr [PC + 0x4A6 /* 00001494 */]
00000FF0 548F addq.l A7, 2
label00000FF2:
00000FF2 3B40 FB76 move.w [A5 - 0x48A], D0
00000FF6 3B40 FB74 move.w [A5 - 0x48C], D0
00000FFA 0894 0005 bclr.b [A4], 0x5
label00000FFE:
00000FFE 4EBA FB4A jsr [PC - 0x4B6 /* 00000B4A */]
00001002 4AAD FB70 tst.l [A5 - 0x490]
00001006 6706 beq +0x8 /* 0000100E */
00001008 4A2D FB58 tst.b [A5 - 0x4A8]
0000100C 6AF0 bpl -0xE /* 00000FFE */
label0000100E:
0000100E 08AD 0004 FB58 bclr.b [A5 - 0x4A8], 0x4
label00001014:
00001014 202D FB6C move.l D0, [A5 - 0x494]
00001018 90AD FB68 sub.l D0, [A5 - 0x498]
0000101C 2940 0012 move.l [A4 + 0x12], D0
00001020 662A bne +0x2C /* 0000104C */
00001022 08D4 0005 bset.b [A4], 0x5
00001026 7EFF moveq.l D7, 0xFFFFFFFF
00001028 6022 bra +0x24 /* 0000104C */
label0000102A:
0000102A 3F2C 0014 move.w -[A7], [A4 + 0x14]
0000102E 2F2C 000E move.l -[A7], [A4 + 0xE]
00001032 4EBA 013E jsr [PC + 0x13E /* 00001172 */]
00001036 5C8F addq.l A7, 6
00001038 6012 bra +0x14 /* 0000104C */
label0000103A:
0000103A 4EBA FDA8 jsr [PC - 0x258 /* 00000DE4 */]
0000103E 202C 001E move.l D0, [A4 + 0x1E]
00001042 B0AE FFF8 cmp.l D0, [A6 - 0x8]
00001046 6604 bne +0x6 /* 0000104C */
00001048 42AE FFF8 clr.l [A6 - 0x8]
label0000104C:
0000104C 4A2D FB5C tst.b [A5 - 0x4A4]
00001050 6722 beq +0x24 /* 00001074 */
00001052 422D FB5C clr.b [A5 - 0x4A4]
00001056 4878 0008 push.l 0x8
0000105A 201F move.l D0, [A7]+
0000105C A032 syscall FlushEvents
0000105E 42AC 0012 clr.l [A4 + 0x12]
00001062 3F3C 0004 move.w -[A7], 0x4
00001066 4EBA 3400 jsr [PC + 0x3400 /* 00004468 */]
0000106A 3B7C 0004 FCEA move.w [A5 - 0x316], 0x4
00001070 7EFF moveq.l D7, 0xFFFFFFFF
00001072 548F addq.l A7, 2
label00001074:
00001074 486E FFF8 pea.l [A6 - 0x8]
00001078 4EBA 062E jsr [PC + 0x62E /* 000016A8 */]
0000107C 3007 move.w D0, D7
label0000107E:
0000107E 4CEE 1080 FFF0 movem.l D7,A4, [A6 - 0x10]
00001084 4E5E unlink A6
00001086 4E75 rts
export_109:
00001088 4E56 FFFE link A6, -0x0002
0000108C 48E7 0118 movem.l -[A7], D7,A3,A4
00001090 3E2E 0014 move.w D7, [A6 + 0x14]
00001094 286E 0010 movea.l A4, [A6 + 0x10]
00001098 604A bra +0x4C /* 000010E4 */
label0000109A:
0000109A 264C movea.l A3, A4
label0000109C:
0000109C 4A1C tst.b [A4]+
0000109E 5BCF FFFC dbmi D7, -0x6 /* 0000109C */
000010A2 6A02 bpl +0x4 /* 000010A6 */
000010A4 538C subq.l A4, 1
label000010A6:
000010A6 B7CC cmpa.l A3, A4
000010A8 6412 bcc +0x14 /* 000010BC */
000010AA 200C move.l D0, A4
000010AC 908B sub.l D0, A3
000010AE 3F00 move.w -[A7], D0
000010B0 2F0B move.l -[A7], A3
000010B2 2F2E 000C move.l -[A7], [A6 + 0xC]
000010B6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000010BA A882 syscall StdText
label000010BC:
000010BC 4A47 tst.w D7
000010BE 6D2C blt +0x2E /* 000010EC */
000010C0 707F moveq.l D0, 0x7F
000010C2 C01C and.b D0, [A4]+
000010C4 1D40 FFFF move.b [A6 - 0x1], D0
000010C8 3F3C 0004 move.w -[A7], 0x4
000010CC A889 syscall TextMode
000010CE 3F3C 0001 move.w -[A7], 0x1
000010D2 486E FFFF pea.l [A6 - 0x1]
000010D6 2F2E 000C move.l -[A7], [A6 + 0xC]
000010DA 2F2E 0008 move.l -[A7], [A6 + 0x8]
000010DE A882 syscall StdText
000010E0 4267 clr.w -[A7]
000010E2 A889 syscall TextMode
label000010E4:
000010E4 3007 move.w D0, D7
000010E6 5347 subq.w D7, 1
000010E8 4A40 tst.w D0
000010EA 66AE bne -0x50 /* 0000109A */
label000010EC:
000010EC 4CDF 1880 movem.l D7,A3,A4, [A7]+
000010F0 4E5E unlink A6
000010F2 205F movea.l A0, [A7]+
000010F4 4FEF 000E lea.l A7, [A7 + 0xE]
000010F8 4ED0 jmp [A0]
fn000010FA:
000010FA 4E56 0000 link A6, 0
000010FE 302D FB36 move.w D0, [A5 - 0x4CA]
00001102 906E 0008 sub.w D0, [A6 + 0x8]
00001106 3040 movea.w A0, D0
00001108 2F08 move.l -[A7], A0
0000110A 42A7 clr.l -[A7]
0000110C 1F3C 000D move.b -[A7], 0xD /* '\r' */
00001110 4EBA 0328 jsr [PC + 0x328 /* 0000143A */]
00001114 206D FB40 movea.l A0, [A5 - 0x4C0]
00001118 2050 movea.l A0, [A0]
0000111A 3EA8 003C move.w [A7], [A0 + 0x3C]
0000111E 206D FB40 movea.l A0, [A5 - 0x4C0]
00001122 326E 0008 movea.w A1, [A6 + 0x8]
00001126 D3C9 add.l A1, A1
00001128 D3D0 add.l A1, [A0]
0000112A 3F29 0060 move.w -[A7], [A1 + 0x60]
0000112E 4EBA 0340 jsr [PC + 0x340 /* 00001470 */]
00001132 426D FB3C clr.w [A5 - 0x4C4]
00001136 4E5E unlink A6
00001138 4E75 rts
fn0000113A:
0000113A 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000113E 4EBA 03C4 jsr [PC + 0x3C4 /* 00001504 */]
00001142 2840 movea.l A4, D0
00001144 302D FB3A move.w D0, [A5 - 0x4C6]
00001148 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
0000114C D6C0 add.w A3, D0
0000114E 3E2D FB3C move.w D7, [A5 - 0x4C4]
00001152 DE53 add.w D7, [A3]
00001154 7CFF moveq.l D6, 0xFFFFFFFF
00001156 DC6B 0002 add.w D6, [A3 + 0x2]
0000115A BC47 cmp.w D6, D7
0000115C 6F0E ble +0x10 /* 0000116C */
0000115E 3947 0020 move.w [A4 + 0x20], D7
00001162 3946 0022 move.w [A4 + 0x22], D6
00001166 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000116A A9D7 syscall TEDelete
label0000116C:
0000116C 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001170 4E75 rts
fn00001172:
00001172 4E56 FFFC link A6, -0x0004
00001176 48E7 0118 movem.l -[A7], D7,A3,A4
0000117A 3E2E 000C move.w D7, [A6 + 0xC]
0000117E 286E 0008 movea.l A4, [A6 + 0x8]
00001182 6000 00E6 bra +0xE8 /* 0000126A */
label00001186:
00001186 2D4C FFFC move.l [A6 - 0x4], A4
0000118A 7020 moveq.l D0, 0x20
label0000118C:
0000118C B01C cmp.b D0, [A4]+
0000118E 52CF FFFC dbhi D7, -0x6 /* 0000118C */
00001192 6302 bls +0x4 /* 00001196 */
00001194 538C subq.l A4, 1
label00001196:
00001196 B9EE FFFC cmpa.l A4, [A6 - 0x4]
0000119A 6312 bls +0x14 /* 000011AE */
0000119C 200C move.l D0, A4
0000119E 90AE FFFC sub.l D0, [A6 - 0x4]
000011A2 2F00 move.l -[A7], D0
000011A4 2F2E FFFC move.l -[A7], [A6 - 0x4]
000011A8 4EBA 00E0 jsr [PC + 0xE0 /* 0000128A */]
000011AC 508F addq.l A7, 8
label000011AE:
000011AE 4A47 tst.w D7
000011B0 6D00 00C2 blt +0xC4 /* 00001274 */
000011B4 4A2D FB58 tst.b [A5 - 0x4A8]
000011B8 6B2E bmi +0x30 /* 000011E8 */
000011BA 2678 014C movea.l A3, [0x0000014C]
000011BE 6024 bra +0x26 /* 000011E4 */
label000011C0:
000011C0 0C6B 0003 0006 cmpi.w [A3 + 0x6], 0x3
000011C6 661A bne +0x1C /* 000011E2 */
000011C8 0C2B 002E 000B cmpi.b [A3 + 0xB], 0x2E /* '.' */
000011CE 6612 bne +0x14 /* 000011E2 */
000011D0 082B 0000 0014 btst.b [A3 + 0x14], 0x0
000011D6 670A beq +0xC /* 000011E2 */
000011D8 1B7C 0001 FB5C move.b [A5 - 0x4A4], 0x1
000011DE 6000 0094 bra +0x96 /* 00001274 */
label000011E2:
000011E2 2653 movea.l A3, [A3]
label000011E4:
000011E4 200B move.l D0, A3
000011E6 66D8 bne -0x26 /* 000011C0 */
label000011E8:
000011E8 7000 moveq.l D0, 0x00
000011EA 101C move.b D0, [A4]+
000011EC 5F40 subq.w D0, 7
000011EE 0C40 0006 cmpi.w D0, 0x6
000011F2 6276 bhi +0x78 /* 0000126A */
000011F4 43FA 0086 lea.l A1, [PC + 0x86 /* 0000127C, value 0xFF84FF8C */]
000011F8 D040 add.w D0, D0
000011FA D2F1 0000 add.w A1, [A1 + D0.w]
000011FE 4ED1 jmp [A1]
00001200 3F3C 0004 move.w -[A7], 0x4
00001204 A9C8 syscall SysBeep
00001206 6062 bra +0x64 /* 0000126A */
00001208 4EBA 02FA jsr [PC + 0x2FA /* 00001504 */]
0000120C 4A6D FB3C tst.w [A5 - 0x4C4]
00001210 6758 beq +0x5A /* 0000126A */
00001212 536D FB3C subq.w [A5 - 0x4C4], 1
00001216 6052 bra +0x54 /* 0000126A */
00001218 426D FB3A clr.w [A5 - 0x4C6]
0000121C 4267 clr.w -[A7]
0000121E 4EBA FEDA jsr [PC - 0x126 /* 000010FA */]
00001222 548F addq.l A7, 2
00001224 6044 bra +0x46 /* 0000126A */
00001226 4EBA 0522 jsr [PC + 0x522 /* 0000174A */]
0000122A 603E bra +0x40 /* 0000126A */
0000122C 526D FB3A addq.w [A5 - 0x4C6], 1
00001230 302D FB3A move.w D0, [A5 - 0x4C6]
00001234 B06D FB36 cmp.w D0, [A5 - 0x4CA]
00001238 6630 bne +0x32 /* 0000126A */
0000123A 536D FB3A subq.w [A5 - 0x4C6], 1
0000123E 602A bra +0x2C /* 0000126A */
00001240 426D FB3C clr.w [A5 - 0x4C4]
00001244 6024 bra +0x26 /* 0000126A */
label00001246:
00001246 526D FB3C addq.w [A5 - 0x4C4], 1
0000124A 302D FB3C move.w D0, [A5 - 0x4C4]
0000124E 48C0 ext.l D0
00001250 81ED FB3E divs.w D0, [A5 - 0x4C2]
00001254 4840 swap.w D0
00001256 4A40 tst.w D0
00001258 66EC bne -0x12 /* 00001246 */
0000125A 302D FB3C move.w D0, [A5 - 0x4C4]
0000125E B06D FB38 cmp.w D0, [A5 - 0x4C8]
00001262 6F06 ble +0x8 /* 0000126A */
00001264 3B6D FB38 FB3C move.w [A5 - 0x4C4], [A5 - 0x4C8]
label0000126A:
0000126A 3007 move.w D0, D7
0000126C 5347 subq.w D7, 1
0000126E 4A40 tst.w D0
00001270 6600 FF14 bne -0xEA /* 00001186 */
label00001274:
00001274 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001278 4E5E unlink A6
0000127A 4E75 rts
0000127C FF84 .extension 0xF84 // unimplemented
0000127E FF8C .extension 0xF8C // unimplemented
00001280 FFCA .extension 0xFCA // unimplemented
00001282 FFAA .extension 0xFAA // unimplemented
00001284 FFB0 .extension 0xFB0 // unimplemented
00001286 FF9C .extension 0xF9C // unimplemented
00001288 FFC4 .extension 0xFC4 // unimplemented
fn0000128A:
0000128A 4E56 0000 link A6, 0
0000128E 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
00001292 2E2E 000C move.l D7, [A6 + 0xC]
label00001296:
00001296 2C07 move.l D6, D7
00001298 306D FB38 movea.w A0, [A5 - 0x4C8]
0000129C 326D FB3C movea.w A1, [A5 - 0x4C4]
000012A0 D3C7 add.l A1, D7
000012A2 B1C9 cmpa.l A0, A1
000012A4 6C0A bge +0xC /* 000012B0 */
000012A6 3C2D FB38 move.w D6, [A5 - 0x4C8]
000012AA 9C6D FB3C sub.w D6, [A5 - 0x4C4]
000012AE 48C6 ext.l D6
label000012B0:
000012B0 206D FB40 movea.l A0, [A5 - 0x4C0]
000012B4 302D FB3A move.w D0, [A5 - 0x4C6]
000012B8 3840 movea.w A4, D0
000012BA 49F4 0060 lea.l A4, [A4 + D0.w + 0x60]
000012BE D9D0 add.l A4, [A0]
000012C0 3A2D FB3C move.w D5, [A5 - 0x4C4]
000012C4 DA54 add.w D5, [A4]
000012C6 78FF moveq.l D4, 0xFFFFFFFF
000012C8 D86C 0002 add.w D4, [A4 + 0x2]
000012CC B845 cmp.w D4, D5
000012CE 6C22 bge +0x24 /* 000012F2 */
000012D0 3005 move.w D0, D5
000012D2 9044 sub.w D0, D4
000012D4 3040 movea.w A0, D0
000012D6 2F08 move.l -[A7], A0
000012D8 42A7 clr.l -[A7]
000012DA 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
000012DE 4EBA 015A jsr [PC + 0x15A /* 0000143A */]
000012E2 3E84 move.w [A7], D4
000012E4 3F04 move.w -[A7], D4
000012E6 4EBA 0188 jsr [PC + 0x188 /* 00001470 */]
000012EA 3805 move.w D4, D5
000012EC 4FEF 000C lea.l A7, [A7 + 0xC]
000012F0 600E bra +0x10 /* 00001300 */
label000012F2:
000012F2 3045 movea.w A0, D5
000012F4 D1C6 add.l A0, D6
000012F6 3244 movea.w A1, D4
000012F8 B1C9 cmpa.l A0, A1
000012FA 6C04 bge +0x6 /* 00001300 */
000012FC 3806 move.w D4, D6
000012FE D845 add.w D4, D5
label00001300:
00001300 2006 move.l D0, D6
00001302 2278 0AB4 movea.l A1, [0x00000AB4 /* TEScrpHandle */]
00001306 206E 0008 movea.l A0, [A6 + 0x8]
0000130A A9E2 syscall PtrToXHand
0000130C 31C6 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D6
00001310 3F04 move.w -[A7], D4
00001312 3F05 move.w -[A7], D5
00001314 4EBA 015A jsr [PC + 0x15A /* 00001470 */]
00001318 BE86 cmp.l D7, D6
0000131A 588F addq.l A7, 4
0000131C 6F0E ble +0x10 /* 0000132C */
0000131E 4EBA 042A jsr [PC + 0x42A /* 0000174A */]
00001322 DDAE 0008 add.l [A6 + 0x8], D6
00001326 9E86 sub.l D7, D6
00001328 6000 FF6C bra -0x92 /* 00001296 */
label0000132C:
0000132C DD6D FB3C add.w [A5 - 0x4C4], D6
00001330 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
00001334 4E5E unlink A6
00001336 4E75 rts
fn00001338:
00001338 4E56 0000 link A6, 0
0000133C 48E7 0308 movem.l -[A7], D6,D7,A4
00001340 3E2E 0008 move.w D7, [A6 + 0x8]
00001344 3C2E 000A move.w D6, [A6 + 0xA]
00001348 4EBA 01BA jsr [PC + 0x1BA /* 00001504 */]
0000134C 2840 movea.l A4, D0
0000134E 302D FB3A move.w D0, [A5 - 0x4C6]
00001352 48C0 ext.l D0
00001354 D080 add.l D0, D0
00001356 7201 moveq.l D1, 0x01
00001358 D26D FB76 add.w D1, [A5 - 0x48A]
0000135C B274 0862 cmp.w D1, [A4 + D0 + 0x62]
00001360 6610 bne +0x12 /* 00001372 */
00001362 3947 0020 move.w [A4 + 0x20], D7
00001366 3946 0022 move.w [A4 + 0x22], D6
0000136A 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000136E A9D7 syscall TEDelete
00001370 603A bra +0x3C /* 000013AC */
label00001372:
00001372 3946 0020 move.w [A4 + 0x20], D6
00001376 396D FB76 0022 move.w [A4 + 0x22], [A5 - 0x48A]
0000137C 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001380 A9D5 syscall TECopy
00001382 302D FB76 move.w D0, [A5 - 0x48A]
00001386 9047 sub.w D0, D7
00001388 3040 movea.w A0, D0
0000138A 2F08 move.l -[A7], A0
0000138C 302D FB76 move.w D0, [A5 - 0x48A]
00001390 9046 sub.w D0, D6
00001392 3040 movea.w A0, D0
00001394 2F08 move.l -[A7], A0
00001396 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
0000139A 4EBA 009E jsr [PC + 0x9E /* 0000143A */]
0000139E 3EAD FB76 move.w [A7], [A5 - 0x48A]
000013A2 3F07 move.w -[A7], D7
000013A4 4EBA 00CA jsr [PC + 0xCA /* 00001470 */]
000013A8 4FEF 000C lea.l A7, [A7 + 0xC]
label000013AC:
000013AC 3006 move.w D0, D6
000013AE 9047 sub.w D0, D7
000013B0 916D FB76 sub.w [A5 - 0x48A], D0
000013B4 4CDF 10C0 movem.l D6,D7,A4, [A7]+
000013B8 4E5E unlink A6
000013BA 4E75 rts
fn000013BC:
000013BC 4E56 0000 link A6, 0
000013C0 2F0C move.l -[A7], A4
000013C2 4EBA 0140 jsr [PC + 0x140 /* 00001504 */]
000013C6 2840 movea.l A4, D0
000013C8 396E 000A 0020 move.w [A4 + 0x20], [A6 + 0xA]
000013CE 302D FB3A move.w D0, [A5 - 0x4C6]
000013D2 48C0 ext.l D0
000013D4 D080 add.l D0, D0
000013D6 7201 moveq.l D1, 0x01
000013D8 D26D FB76 add.w D1, [A5 - 0x48A]
000013DC B274 0862 cmp.w D1, [A4 + D0 + 0x62]
000013E0 6616 bne +0x18 /* 000013F8 */
000013E2 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
000013E8 102E 0008 move.b D0, [A6 + 0x8]
000013EC 4880 ext.w D0
000013EE 3F00 move.w -[A7], D0
000013F0 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000013F4 A9DC syscall TEKey
000013F6 6038 bra +0x3A /* 00001430 */
label000013F8:
000013F8 396D FB76 0022 move.w [A4 + 0x22], [A5 - 0x48A]
000013FE 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001402 A9D5 syscall TECopy
00001404 42A7 clr.l -[A7]
00001406 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
0000140A 42A7 clr.l -[A7]
0000140C 42A7 clr.l -[A7]
0000140E 42A7 clr.l -[A7]
00001410 486E 0008 pea.l [A6 + 0x8]
00001414 4878 0001 push.l 0x1
00001418 A9E0 syscall Munger
0000141A 5278 0AB0 addq.w [0x00000AB0 /* TEScrpLength */], 1
0000141E 7001 moveq.l D0, 0x01
00001420 D06D FB76 add.w D0, [A5 - 0x48A]
00001424 3E80 move.w [A7], D0
00001426 3F2E 000A move.w -[A7], [A6 + 0xA]
0000142A 4EBA 0044 jsr [PC + 0x44 /* 00001470 */]
0000142E 5C8F addq.l A7, 6
label00001430:
00001430 526D FB76 addq.w [A5 - 0x48A], 1
00001434 285F movea.l A4, [A7]+
00001436 4E5E unlink A6
00001438 4E75 rts
fn0000143A:
0000143A 4E56 0000 link A6, 0
0000143E 48E7 0700 movem.l -[A7], D5,D6,D7
00001442 1E2E 0008 move.b D7, [A6 + 0x8]
00001446 2C2E 000A move.l D6, [A6 + 0xA]
0000144A 2A2E 000E move.l D5, [A6 + 0xE]
0000144E 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001452 2005 move.l D0, D5
00001454 31C0 0AB0 move.w [0x00000AB0 /* TEScrpLength */], D0
00001458 A024 syscall SetHandleSize
0000145A 2050 movea.l A0, [A0]
0000145C D1C6 add.l A0, D6
0000145E 9A86 sub.l D5, D6
00001460 6002 bra +0x4 /* 00001464 */
label00001462:
00001462 10C7 move.b [A0]+, D7
label00001464:
00001464 51CD FFFC dbf D5, -0x6 /* 00001462 */
00001468 4CDF 00E0 movem.l D5,D6,D7, [A7]+
0000146C 4E5E unlink A6
0000146E 4E75 rts
fn00001470:
00001470 4E56 0000 link A6, 0
00001474 2F0C move.l -[A7], A4
00001476 4EBA 008C jsr [PC + 0x8C /* 00001504 */]
0000147A 2840 movea.l A4, D0
0000147C 396E 0008 0020 move.w [A4 + 0x20], [A6 + 0x8]
00001482 396E 000A 0022 move.w [A4 + 0x22], [A6 + 0xA]
00001488 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
0000148C A9DB syscall TEPaste
0000148E 285F movea.l A4, [A7]+
00001490 4E5E unlink A6
00001492 4E75 rts
fn00001494:
00001494 4E56 0000 link A6, 0
00001498 48E7 0318 movem.l -[A7], D6,D7,A3,A4
0000149C 3E2E 0008 move.w D7, [A6 + 0x8]
000014A0 4EBA 0062 jsr [PC + 0x62 /* 00001504 */]
000014A4 2840 movea.l A4, D0
000014A6 302D FB3A move.w D0, [A5 - 0x4C6]
000014AA 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
000014AE D6C0 add.w A3, D0
000014B0 7CFF moveq.l D6, 0xFFFFFFFF
000014B2 DC6B 0002 add.w D6, [A3 + 0x2]
000014B6 3013 move.w D0, [A3]
000014B8 D06D FB3C add.w D0, [A5 - 0x4C4]
000014BC DE40 add.w D7, D0
000014BE BC47 cmp.w D6, D7
000014C0 6C24 bge +0x26 /* 000014E6 */
000014C2 3007 move.w D0, D7
000014C4 9046 sub.w D0, D6
000014C6 3040 movea.w A0, D0
000014C8 2F08 move.l -[A7], A0
000014CA 42A7 clr.l -[A7]
000014CC 1F3C 0020 move.b -[A7], 0x20 /* ' ' */
000014D0 4EBA FF68 jsr [PC - 0x98 /* 0000143A */]
000014D4 3E86 move.w [A7], D6
000014D6 3F06 move.w -[A7], D6
000014D8 4EBA FF96 jsr [PC - 0x6A /* 00001470 */]
000014DC 206D FB40 movea.l A0, [A5 - 0x4C0]
000014E0 2850 movea.l A4, [A0]
000014E2 4FEF 000C lea.l A7, [A7 + 0xC]
label000014E6:
000014E6 3947 0022 move.w [A4 + 0x22], D7
000014EA 3947 0020 move.w [A4 + 0x20], D7
000014EE 397C 00FF 0046 move.w [A4 + 0x46], 0xFF
000014F4 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000014F8 A9D8 syscall TEActivate
000014FA 3007 move.w D0, D7
000014FC 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
00001500 4E5E unlink A6
00001502 4E75 rts
fn00001504:
00001504 206D FB40 movea.l A0, [A5 - 0x4C0]
00001508 2050 movea.l A0, [A0]
0000150A 4A68 0024 tst.w [A0 + 0x24]
0000150E 6706 beq +0x8 /* 00001516 */
00001510 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001514 A9D9 syscall TEDeactivate
label00001516:
00001516 206D FB40 movea.l A0, [A5 - 0x4C0]
0000151A 2010 move.l D0, [A0]
0000151C 4E75 rts
fn0000151E:
0000151E 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001522 3E2D FB36 move.w D7, [A5 - 0x4CA]
00001526 206D FB40 movea.l A0, [A5 - 0x4C0]
0000152A 2850 movea.l A4, [A0]
0000152C 6000 009C bra +0x9E /* 000015CA */
label00001530:
00001530 3007 move.w D0, D7
00001532 5347 subq.w D7, 1
00001534 48C0 ext.l D0
00001536 D080 add.l D0, D0
00001538 7AFF moveq.l D5, 0xFFFFFFFF
0000153A DA74 0860 add.w D5, [A4 + D0 + 0x60]
0000153E 3C05 move.w D6, D5
00001540 206C 003E movea.l A0, [A4 + 0x3E]
00001544 2650 movea.l A3, [A0]
00001546 D6C6 add.w A3, D6
00001548 6002 bra +0x4 /* 0000154C */
label0000154A:
0000154A 5346 subq.w D6, 1
label0000154C:
0000154C 4A46 tst.w D6
0000154E 6708 beq +0xA /* 00001558 */
00001550 538B subq.l A3, 1
00001552 0C13 0020 cmpi.b [A3], 0x20 /* ' ' */
00001556 67F2 beq -0xC /* 0000154A */
label00001558:
00001558 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
0000155E 6716 beq +0x18 /* 00001576 */
00001560 4A2D FB58 tst.b [A5 - 0x4A8]
00001564 6B10 bmi +0x12 /* 00001576 */
00001566 BE6D FB3A cmp.w D7, [A5 - 0x4C6]
0000156A 660A bne +0xC /* 00001576 */
0000156C BC6D FB76 cmp.w D6, [A5 - 0x48A]
00001570 6C04 bge +0x6 /* 00001576 */
00001572 3C2D FB76 move.w D6, [A5 - 0x48A]
label00001576:
00001576 9A46 sub.w D5, D6
00001578 6750 beq +0x52 /* 000015CA */
0000157A 42A7 clr.l -[A7]
0000157C 2F2C 003E move.l -[A7], [A4 + 0x3E]
00001580 3046 movea.w A0, D6
00001582 2F08 move.l -[A7], A0
00001584 42A7 clr.l -[A7]
00001586 3045 movea.w A0, D5
00001588 2F08 move.l -[A7], A0
0000158A 486D FBDC pea.l [A5 - 0x424]
0000158E 42A7 clr.l -[A7]
00001590 A9E0 syscall Munger
00001592 206D FB40 movea.l A0, [A5 - 0x4C0]
00001596 2850 movea.l A4, [A0]
00001598 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
0000159E 588F addq.l A7, 4
000015A0 6714 beq +0x16 /* 000015B6 */
000015A2 BC6D FB74 cmp.w D6, [A5 - 0x48C]
000015A6 6C04 bge +0x6 /* 000015AC */
000015A8 9B6D FB74 sub.w [A5 - 0x48C], D5
label000015AC:
000015AC BC6D FB76 cmp.w D6, [A5 - 0x48A]
000015B0 6C04 bge +0x6 /* 000015B6 */
000015B2 9B6D FB76 sub.w [A5 - 0x48A], D5
label000015B6:
000015B6 BC6C 0020 cmp.w D6, [A4 + 0x20]
000015BA 6C04 bge +0x6 /* 000015C0 */
000015BC 9B6C 0020 sub.w [A4 + 0x20], D5
label000015C0:
000015C0 BC6C 0022 cmp.w D6, [A4 + 0x22]
000015C4 6C04 bge +0x6 /* 000015CA */
000015C6 9B6C 0022 sub.w [A4 + 0x22], D5
label000015CA:
000015CA 4A47 tst.w D7
000015CC 6600 FF62 bne -0x9C /* 00001530 */
000015D0 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000015D4 A9D0 syscall TECalText
000015D6 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
000015DA 4E75 rts
fn000015DC:
000015DC 4E56 FFF8 link A6, -0x0008
000015E0 206D FB2E movea.l A0, [A5 - 0x4D2]
000015E4 2D68 0010 FFF8 move.l [A6 - 0x8], [A0 + 0x10]
000015EA 2D68 0014 FFFC move.l [A6 - 0x4], [A0 + 0x14]
000015F0 486E FFF8 pea.l [A6 - 0x8]
000015F4 A928 syscall InvalRect
000015F6 486E FFF8 pea.l [A6 - 0x8]
000015FA 2F3C 0004 0004 move.l -[A7], 0x40004
00001600 A8A9 syscall InsetRect
00001602 206D FB40 movea.l A0, [A5 - 0x4C0]
00001606 2050 movea.l A0, [A0]
00001608 216E FFF8 0008 move.l [A0 + 0x8], [A6 - 0x8]
0000160E 216E FFFC 000C move.l [A0 + 0xC], [A6 - 0x4]
00001614 302D FB32 move.w D0, [A5 - 0x4CE]
00001618 C1ED FB36 muls.w D0, [A5 - 0x4CA]
0000161C 322E FFFC move.w D1, [A6 - 0x4]
00001620 9240 sub.w D1, D0
00001622 3D41 FFF8 move.w [A6 - 0x8], D1
00001626 206D FB40 movea.l A0, [A5 - 0x4C0]
0000162A 2050 movea.l A0, [A0]
0000162C 20AE FFF8 move.l [A0], [A6 - 0x8]
00001630 216E FFFC 0004 move.l [A0 + 0x4], [A6 - 0x4]
00001636 4E5E unlink A6
00001638 4E75 rts
fn0000163A:
0000163A 4E56 FFF8 link A6, -0x0008
0000163E 2F0C move.l -[A7], A4
00001640 286E 0008 movea.l A4, [A6 + 0x8]
00001644 206E 000C movea.l A0, [A6 + 0xC]
00001648 4868 0004 pea.l [A0 + 0x4]
0000164C A874 syscall GetPort
0000164E 206E 000C movea.l A0, [A6 + 0xC]
00001652 20AD FB64 move.l [A0], [A5 - 0x49C]
00001656 200C move.l D0, A4
00001658 6748 beq +0x4A /* 000016A2 */
0000165A 302C 006C move.w D0, [A4 + 0x6C]
0000165E B06D FB5E cmp.w D0, [A5 - 0x4A2]
00001662 663E bne +0x40 /* 000016A2 */
00001664 2F0C move.l -[A7], A4
00001666 4EBA 0068 jsr [PC + 0x68 /* 000016D0 */]
0000166A 2E8C move.l [A7], A4
0000166C A873 syscall SetPort
0000166E 4227 clr.b -[A7]
00001670 2F2C 007A move.l -[A7], [A4 + 0x7A]
00001674 A8E2 syscall EmptyRgn
00001676 4A1F tst.b [A7]+
00001678 6624 bne +0x26 /* 0000169E */
0000167A 2D6C 0010 FFF8 move.l [A6 - 0x8], [A4 + 0x10]
00001680 2D6C 0014 FFFC move.l [A6 - 0x4], [A4 + 0x14]
00001686 2F0C move.l -[A7], A4
00001688 A922 syscall BeginUpdate
0000168A 486E FFF8 pea.l [A6 - 0x8]
0000168E A8A3 syscall EraseRect
00001690 486E FFF8 pea.l [A6 - 0x8]
00001694 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001698 A9D3 syscall TEUpdate
0000169A 2F0C move.l -[A7], A4
0000169C A923 syscall EndUpdate
label0000169E:
0000169E 2B4C FB64 move.l [A5 - 0x49C], A4
label000016A2:
000016A2 285F movea.l A4, [A7]+
000016A4 4E5E unlink A6
000016A6 4E75 rts
fn000016A8:
000016A8 4E56 0000 link A6, 0
000016AC 206E 0008 movea.l A0, [A6 + 0x8]
000016B0 2B50 FB64 move.l [A5 - 0x49C], [A0]
000016B4 670C beq +0xE /* 000016C2 */
000016B6 206E 0008 movea.l A0, [A6 + 0x8]
000016BA 2F10 move.l -[A7], [A0]
000016BC 4EBA 0012 jsr [PC + 0x12 /* 000016D0 */]
000016C0 588F addq.l A7, 4
label000016C2:
000016C2 206E 0008 movea.l A0, [A6 + 0x8]
000016C6 2F28 0004 move.l -[A7], [A0 + 0x4]
000016CA A873 syscall SetPort
000016CC 4E5E unlink A6
000016CE 4E75 rts
fn000016D0:
000016D0 4E56 0000 link A6, 0
000016D4 202E 0008 move.l D0, [A6 + 0x8]
000016D8 B0AD FB2E cmp.l D0, [A5 - 0x4D2]
000016DC 6738 beq +0x3A /* 00001716 */
000016DE 4AAD FB2E tst.l [A5 - 0x4D2]
000016E2 6716 beq +0x18 /* 000016FA */
000016E4 206D FB2E movea.l A0, [A5 - 0x4D2]
000016E8 2068 0098 movea.l A0, [A0 + 0x98]
000016EC 2050 movea.l A0, [A0]
000016EE 43ED FB2E lea.l A1, [A5 - 0x4D2]
000016F2 700A moveq.l D0, 0x0A
label000016F4:
000016F4 20D9 move.l [A0]+, [A1]+
000016F6 51C8 FFFC dbf D0, -0x6 /* 000016F4 */
label000016FA:
000016FA 4AAE 0008 tst.l [A6 + 0x8]
000016FE 6716 beq +0x18 /* 00001716 */
00001700 206E 0008 movea.l A0, [A6 + 0x8]
00001704 2068 0098 movea.l A0, [A0 + 0x98]
00001708 2050 movea.l A0, [A0]
0000170A 43ED FB2E lea.l A1, [A5 - 0x4D2]
0000170E 700A moveq.l D0, 0x0A
label00001710:
00001710 22D8 move.l [A1]+, [A0]+
00001712 51C8 FFFC dbf D0, -0x6 /* 00001710 */
label00001716:
00001716 4E5E unlink A6
00001718 4E75 rts
fn0000171A:
0000171A 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
0000171E A029 syscall HLock
00001720 2010 move.l D0, [A0]
00001722 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00001728 6716 beq +0x18 /* 00001740 */
0000172A 2240 movea.l A1, D0
0000172C 3238 0AB0 move.w D1, [0x00000AB0 /* TEScrpLength */]
00001730 600A bra +0xC /* 0000173C */
label00001732:
00001732 4A19 tst.b [A1]+
00001734 6A06 bpl +0x8 /* 0000173C */
00001736 08A9 0007 FFFF bclr.b [A1 - 0x1], 0x7
label0000173C:
0000173C 51C9 FFF4 dbf D1, -0xE /* 00001732 */
label00001740:
00001740 4E75 rts
fn00001742:
00001742 2078 0AB4 movea.l A0, [0x00000AB4 /* TEScrpHandle */]
00001746 A02A syscall HUnlock
00001748 4E75 rts
fn0000174A:
0000174A 4E56 FFE8 link A6, -0x0018
0000174E 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00001752 4EBA FDB0 jsr [PC - 0x250 /* 00001504 */]
00001756 2840 movea.l A4, D0
00001758 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
0000175E 6712 beq +0x14 /* 00001772 */
00001760 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001766 660A bne +0xC /* 00001772 */
00001768 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
0000176E 6700 00E4 beq +0xE6 /* 00001854 */
label00001772:
00001772 41EE FFE8 lea.l A0, [A6 - 0x18]
00001776 7002 moveq.l D0, 0x02
00001778 A031 syscall GetOSEvent
0000177A 5240 addq.w D0, 1
0000177C 4A00 tst.b D0
0000177E 670E beq +0x10 /* 0000178E */
label00001780:
00001780 41EE FFE8 lea.l A0, [A6 - 0x18]
00001784 7004 moveq.l D0, 0x04
00001786 A031 syscall GetOSEvent
00001788 5240 addq.w D0, 1
0000178A 4A00 tst.b D0
0000178C 67F2 beq -0xC /* 00001780 */
label0000178E:
0000178E 4AAD FB54 tst.l [A5 - 0x4AC]
00001792 673A beq +0x3C /* 000017CE */
00001794 302D FB3A move.w D0, [A5 - 0x4C6]
00001798 47F4 0060 lea.l A3, [A4 + D0.w + 0x60]
0000179C D6C0 add.w A3, D0
0000179E 3953 0020 move.w [A4 + 0x20], [A3]
000017A2 396B 0002 0022 move.w [A4 + 0x22], [A3 + 0x2]
000017A8 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
000017AC A9D5 syscall TECopy
000017AE 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
000017B2 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
000017B6 2F08 move.l -[A7], A0
000017B8 4878 0001 push.l 0x1
000017BC 4EBA FF5C jsr [PC - 0xA4 /* 0000171A */]
000017C0 2F00 move.l -[A7], D0
000017C2 4EBA 128A jsr [PC + 0x128A /* 00002A4E */]
000017C6 4EBA FF7A jsr [PC - 0x86 /* 00001742 */]
000017CA 4FEF 0010 lea.l A7, [A7 + 0x10]
label000017CE:
000017CE 526D FB3A addq.w [A5 - 0x4C6], 1
000017D2 302D FB3A move.w D0, [A5 - 0x4C6]
000017D6 B06D FB36 cmp.w D0, [A5 - 0x4CA]
000017DA 6674 bne +0x76 /* 00001850 */
000017DC 206D FB40 movea.l A0, [A5 - 0x4C0]
000017E0 2850 movea.l A4, [A0]
000017E2 246C 003E movea.l A2, [A4 + 0x3E]
000017E6 3E2C 0062 move.w D7, [A4 + 0x62]
000017EA 9F6C 003C sub.w [A4 + 0x3C], D7
000017EE 3C2C 003C move.w D6, [A4 + 0x3C]
000017F2 526C 003C addq.w [A4 + 0x3C], 1
000017F6 2D54 FFF8 move.l [A6 - 0x8], [A4]
000017FA 2D6C 0004 FFFC move.l [A6 - 0x4], [A4 + 0x4]
00001800 486E FFF8 pea.l [A6 - 0x8]
00001804 4267 clr.w -[A7]
00001806 302D FB32 move.w D0, [A5 - 0x4CE]
0000180A 4440 neg.w D0
0000180C 3F00 move.w -[A7], D0
0000180E 42A7 clr.l -[A7]
00001810 A8D8 syscall NewRgn
00001812 2A1F move.l D5, [A7]+
00001814 2F05 move.l -[A7], D5
00001816 A8EF syscall ScrollRect
00001818 2F05 move.l -[A7], D5
0000181A A8D9 syscall DisposRgn/DisposeRgn
0000181C 42A7 clr.l -[A7]
0000181E 2F0A move.l -[A7], A2
00001820 42A7 clr.l -[A7]
00001822 42A7 clr.l -[A7]
00001824 3047 movea.w A0, D7
00001826 2F08 move.l -[A7], A0
00001828 486D FBDE pea.l [A5 - 0x422]
0000182C 42A7 clr.l -[A7]
0000182E A9E0 syscall Munger
00001830 4297 clr.l [A7]
00001832 2F0A move.l -[A7], A2
00001834 3046 movea.w A0, D6
00001836 2F08 move.l -[A7], A0
00001838 42A7 clr.l -[A7]
0000183A 42A7 clr.l -[A7]
0000183C 486D FBE0 pea.l [A5 - 0x420]
00001840 4878 0001 push.l 0x1
00001844 A9E0 syscall Munger
00001846 2EAD FB40 move.l [A7], [A5 - 0x4C0]
0000184A A9D0 syscall TECalText
0000184C 536D FB3A subq.w [A5 - 0x4C6], 1
label00001850:
00001850 426D FB3C clr.w [A5 - 0x4C4]
label00001854:
00001854 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
00001858 4E5E unlink A6
0000185A 4E75 rts
fn0000185C:
0000185C 4E56 FFFA link A6, -0x0006
00001860 2F0C move.l -[A7], A4
00001862 4AAD FB78 tst.l [A5 - 0x488]
00001866 661C bne +0x1E /* 00001884 */
00001868 41ED 0392 lea.l A0, [A5 + 0x392 /* export_110 */]
0000186C 2B48 FB0E move.l [A5 - 0x4F2], A0
00001870 41ED 039A lea.l A0, [A5 + 0x39A /* export_111 */]
00001874 2B48 FB14 move.l [A5 - 0x4EC], A0
00001878 41ED FAEE lea.l A0, [A5 - 0x512]
0000187C 702A moveq.l D0, 0x2A
0000187E A9E3 syscall PtrToHand
00001880 2B48 FB78 move.l [A5 - 0x488], A0
label00001884:
00001884 3D7C 001B FFFE move.w [A6 - 0x2], 0x1B
0000188A 6012 bra +0x14 /* 0000189E */
label0000188C:
0000188C 206E FFFA movea.l A0, [A6 - 0x6]
00001890 2050 movea.l A0, [A0]
00001892 0828 0005 0005 btst.b [A0 + 0x5], 0x5
00001898 6718 beq +0x1A /* 000018B2 */
0000189A 526E FFFE addq.w [A6 - 0x2], 1
label0000189E:
0000189E 302E FFFE move.w D0, [A6 - 0x2]
000018A2 48C0 ext.l D0
000018A4 E588 lsl D0, 2
000018A6 D0B8 011C add.l D0, [0x0000011C /* UTableBase */]
000018AA 2040 movea.l A0, D0
000018AC 2D50 FFFA move.l [A6 - 0x6], [A0]
000018B0 66DA bne -0x24 /* 0000188C */
label000018B2:
000018B2 302E FFFE move.w D0, [A6 - 0x2]
000018B6 4640 not.w D0
000018B8 3D40 FFFE move.w [A6 - 0x2], D0
000018BC 302E FFFE move.w D0, [A6 - 0x2]
000018C0 A13D syscall DrvrInstall, flags=1
000018C2 2850 movea.l A4, [A0]
000018C4 28AD FB78 move.l [A4], [A5 - 0x488]
000018C8 396D FAEE 0004 move.w [A4 + 0x4], [A5 - 0x512]
000018CE 396D FAF2 0024 move.w [A4 + 0x24], [A5 - 0x50E]
000018D4 302E FFFE move.w D0, [A6 - 0x2]
000018D8 285F movea.l A4, [A7]+
000018DA 4E5E unlink A6
000018DC 4E75 rts
export_111:
000018DE 70E8 moveq.l D0, 0xFFFFFFE8
000018E0 4E75 rts
export_110:
000018E2 4E56 FFE6 link A6, -0x001A
000018E6 48E7 0018 movem.l -[A7], A3,A4
000018EA 200D move.l D0, A5
000018EC 2A78 0904 movea.l A5, [0x00000904 /* CurrentA5 */]
000018F0 2D40 FFE6 move.l [A6 - 0x1A], D0
000018F4 2848 movea.l A4, A0
000018F6 2D49 FFFC move.l [A6 - 0x4], A1
000018FA 486E FFF4 pea.l [A6 - 0xC]
000018FE 42A7 clr.l -[A7]
00001900 A924 syscall FrontWindow
00001902 4EBA FD36 jsr [PC - 0x2CA /* 0000163A */]
00001906 508F addq.l A7, 8
00001908 302C 001A move.w D0, [A4 + 0x1A]
0000190C 0440 0040 subi.w D0, 0x40 /* '@' */
00001910 0C40 0009 cmpi.w D0, 0x9 /* '\t' */
00001914 6200 009E bhi +0xA0 /* 000019B4 */
00001918 43FA 00D0 lea.l A1, [PC + 0xD0 /* 000019EA, value 0xFF62FFCA */]
0000191C D040 add.w D0, D0
0000191E D2F1 0000 add.w A1, [A1 + D0.w]
00001922 4ED1 jmp [A1]
00001924 4EBA 00D8 jsr [PC + 0xD8 /* 000019FE */]
00001928 6000 008A bra +0x8C /* 000019B4 */
0000192C 4EBA 05EE jsr [PC + 0x5EE /* 00001F1C */]
00001930 6000 0082 bra +0x84 /* 000019B4 */
00001934 4EBA 0634 jsr [PC + 0x634 /* 00001F6A */]
00001938 607A bra +0x7C /* 000019B4 */
0000193A 4EBA 0670 jsr [PC + 0x670 /* 00001FAC */]
0000193E 6074 bra +0x76 /* 000019B4 */
00001940 3F3C 001B move.w -[A7], 0x1B
00001944 4EBA 03A4 jsr [PC + 0x3A4 /* 00001CEA */]
00001948 548F addq.l A7, 2
0000194A 6068 bra +0x6A /* 000019B4 */
0000194C 266C 001C movea.l A3, [A4 + 0x1C]
00001950 3013 move.w D0, [A3]
00001952 0C40 0006 cmpi.w D0, 0x6
00001956 625C bhi +0x5E /* 000019B4 */
00001958 43FA 0082 lea.l A1, [PC + 0x82 /* 000019DC, value 0xFFD8FF98 */]
0000195C D040 add.w D0, D0
0000195E D2F1 0000 add.w A1, [A1 + D0.w]
00001962 4ED1 jmp [A1]
00001964 486E FFEC pea.l [A6 - 0x14]
00001968 2F2B 0002 move.l -[A7], [A3 + 0x2]
0000196C 4EBA FCCC jsr [PC - 0x334 /* 0000163A */]
00001970 508F addq.l A7, 8
00001972 6040 bra +0x42 /* 000019B4 */
00001974 2F0B move.l -[A7], A3
00001976 4EBA 00C6 jsr [PC + 0xC6 /* 00001A3E */]
0000197A 588F addq.l A7, 4
0000197C 6036 bra +0x38 /* 000019B4 */
0000197E 7000 moveq.l D0, 0x00
00001980 102B 0005 move.b D0, [A3 + 0x5]
00001984 3D40 FFEA move.w [A6 - 0x16], D0
00001988 082B 0000 000E btst.b [A3 + 0xE], 0x0
0000198E 6714 beq +0x16 /* 000019A4 */
00001990 0C53 0005 cmpi.w [A3], 0x5
00001994 671E beq +0x20 /* 000019B4 */
00001996 3F2E FFEA move.w -[A7], [A6 - 0x16]
0000199A 4EBA 024A jsr [PC + 0x24A /* 00001BE6 */]
0000199E 548F addq.l A7, 2
000019A0 3D40 FFEA move.w [A6 - 0x16], D0
label000019A4:
000019A4 4A6E FFEA tst.w [A6 - 0x16]
000019A8 670A beq +0xC /* 000019B4 */
000019AA 3F2E FFEA move.w -[A7], [A6 - 0x16]
000019AE 4EBA 033A jsr [PC + 0x33A /* 00001CEA */]
000019B2 548F addq.l A7, 2
label000019B4:
000019B4 206D FB78 movea.l A0, [A5 - 0x488]
000019B8 A02A syscall HUnlock
000019BA 206E FFFC movea.l A0, [A6 - 0x4]
000019BE A528 syscall RecoverHandle, flags=5
000019C0 A02A syscall HUnlock
000019C2 486E FFF4 pea.l [A6 - 0xC]
000019C6 4EBA FCE0 jsr [PC - 0x320 /* 000016A8 */]
000019CA 588F addq.l A7, 4
000019CC 202E FFE6 move.l D0, [A6 - 0x1A]
000019D0 C18D exg D0, A5
000019D2 7000 moveq.l D0, 0x00
000019D4 4CDF 1800 movem.l A3,A4, [A7]+
000019D8 4E5E unlink A6
000019DA 4E75 rts
000019DC FFD8 .extension 0xFD8 // unimplemented
000019DE FF98 .extension 0xF98 // unimplemented
000019E0 FFD8 .extension 0xFD8 // unimplemented
000019E2 FFA2 .extension 0xFA2 // unimplemented
000019E4 FFD8 .extension 0xFD8 // unimplemented
000019E6 FFA2 .extension 0xFA2 // unimplemented
000019E8 FF88 .extension 0xF88 // unimplemented
000019EA FF62 .extension 0xF62 // unimplemented
000019EC FFCA .extension 0xFCA // unimplemented
000019EE FF3A .extension 0xF3A // unimplemented
000019F0 FFCA .extension 0xFCA // unimplemented
000019F2 FFCA .extension 0xFCA // unimplemented
000019F4 FFCA .extension 0xFCA // unimplemented
000019F6 FF42 .extension 0xF42 // unimplemented
000019F8 FF4A .extension 0xF4A // unimplemented
000019FA FF50 .extension 0xF50 // unimplemented
000019FC FF56 .extension 0xF56 // unimplemented
fn000019FE:
000019FE 4E56 FFFC link A6, -0x0004
00001A02 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001A06 A9DA syscall TEIdle
00001A08 486E FFFC pea.l [A6 - 0x4]
00001A0C A972 syscall GetMouse
00001A0E 4227 clr.b -[A7]
00001A10 2F2E FFFC move.l -[A7], [A6 - 0x4]
00001A14 206D FB2E movea.l A0, [A5 - 0x4D2]
00001A18 4868 0010 pea.l [A0 + 0x10]
00001A1C A8AD syscall PtInRect
00001A1E 4A1F tst.b [A7]+
00001A20 6710 beq +0x12 /* 00001A32 */
00001A22 42A7 clr.l -[A7]
00001A24 3F3C 0001 move.w -[A7], 0x1
00001A28 A9B9 syscall GetCursor
00001A2A 205F movea.l A0, [A7]+
00001A2C 2F10 move.l -[A7], [A0]
00001A2E A851 syscall SetCursor
00001A30 6008 bra +0xA /* 00001A3A */
label00001A32:
00001A32 2055 movea.l A0, [A5]
00001A34 4868 FF94 pea.l [A0 - 0x6C]
00001A38 A851 syscall SetCursor
label00001A3A:
00001A3A 4E5E unlink A6
00001A3C 4E75 rts
fn00001A3E:
00001A3E 4E56 0000 link A6, 0
00001A42 48E7 0108 movem.l -[A7], D7,A4
00001A46 286E 0008 movea.l A4, [A6 + 0x8]
00001A4A 206D FB2E movea.l A0, [A5 - 0x4D2]
00001A4E 317C 0008 006C move.w [A0 + 0x6C], 0x8
00001A54 4267 clr.w -[A7]
00001A56 2F2C 000A move.l -[A7], [A4 + 0xA]
00001A5A 486D FB2E pea.l [A5 - 0x4D2]
00001A5E A92C syscall FindWindow
00001A60 3E1F move.w D7, [A7]+
00001A62 206D FB2E movea.l A0, [A5 - 0x4D2]
00001A66 316D FB5E 006C move.w [A0 + 0x6C], [A5 - 0x4A2]
00001A6C 3007 move.w D0, D7
00001A6E 6B40 bmi +0x42 /* 00001AB0 */
00001A70 5B40 subq.w D0, 5
00001A72 671E beq +0x20 /* 00001A92 */
00001A74 6A06 bpl +0x8 /* 00001A7C */
00001A76 5440 addq.w D0, 2
00001A78 672E beq +0x30 /* 00001AA8 */
00001A7A 6034 bra +0x36 /* 00001AB0 */
label00001A7C:
00001A7C 5940 subq.w D0, 4
00001A7E 6A30 bpl +0x32 /* 00001AB0 */
00001A80 5440 addq.w D0, 2
00001A82 6B2C bmi +0x2E /* 00001AB0 */
00001A84 3F07 move.w -[A7], D7
00001A86 2F2C 000A move.l -[A7], [A4 + 0xA]
00001A8A 4EBA 002C jsr [PC + 0x2C /* 00001AB8 */]
00001A8E 5C8F addq.l A7, 6
00001A90 601E bra +0x20 /* 00001AB0 */
label00001A92:
00001A92 302C 000E move.w D0, [A4 + 0xE]
00001A96 0240 0900 andi.w D0, 0x900 /* '\t\0' */
00001A9A 660C bne +0xE /* 00001AA8 */
00001A9C 2F2C 000A move.l -[A7], [A4 + 0xA]
00001AA0 4EBA 004E jsr [PC + 0x4E /* 00001AF0 */]
00001AA4 588F addq.l A7, 4
00001AA6 6008 bra +0xA /* 00001AB0 */
label00001AA8:
00001AA8 2F0C move.l -[A7], A4
00001AAA 4EBA 0088 jsr [PC + 0x88 /* 00001B34 */]
00001AAE 588F addq.l A7, 4
label00001AB0:
00001AB0 4CDF 1080 movem.l D7,A4, [A7]+
00001AB4 4E5E unlink A6
00001AB6 4E75 rts
fn00001AB8:
00001AB8 4E56 0000 link A6, 0
00001ABC 2F0C move.l -[A7], A4
00001ABE 286D FB2E movea.l A4, [A5 - 0x4D2]
00001AC2 A850 syscall InitCursor
00001AC4 4227 clr.b -[A7]
00001AC6 2F0C move.l -[A7], A4
00001AC8 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001ACC 3F2E 000C move.w -[A7], [A6 + 0xC]
00001AD0 A83B syscall TrackBox
00001AD2 4A1F tst.b [A7]+
00001AD4 6714 beq +0x16 /* 00001AEA */
00001AD6 486C 0010 pea.l [A4 + 0x10]
00001ADA A8A3 syscall EraseRect
00001ADC 2F0C move.l -[A7], A4
00001ADE 3F2E 000C move.w -[A7], [A6 + 0xC]
00001AE2 4227 clr.b -[A7]
00001AE4 A83A syscall ZoomWindow
00001AE6 4EBA FAF4 jsr [PC - 0x50C /* 000015DC */]
label00001AEA:
00001AEA 285F movea.l A4, [A7]+
00001AEC 4E5E unlink A6
00001AEE 4E75 rts
fn00001AF0:
00001AF0 4E56 FFFC link A6, -0x0004
00001AF4 2F0C move.l -[A7], A4
00001AF6 286D FB2E movea.l A4, [A5 - 0x4D2]
00001AFA A850 syscall InitCursor
00001AFC 2B6D FB44 FB24 move.l [A5 - 0x4DC], [A5 - 0x4BC]
00001B02 42A7 clr.l -[A7]
00001B04 2F0C move.l -[A7], A4
00001B06 2F2E 0008 move.l -[A7], [A6 + 0x8]
00001B0A 486D FB20 pea.l [A5 - 0x4E0]
00001B0E A92B syscall GrowWindow
00001B10 2D5F FFFC move.l [A6 - 0x4], [A7]+
00001B14 6718 beq +0x1A /* 00001B2E */
00001B16 486C 0010 pea.l [A4 + 0x10]
00001B1A A8A3 syscall EraseRect
00001B1C 2F0C move.l -[A7], A4
00001B1E 3F2E FFFE move.w -[A7], [A6 - 0x2]
00001B22 3F2E FFFC move.w -[A7], [A6 - 0x4]
00001B26 4227 clr.b -[A7]
00001B28 A91D syscall SizeWindow
00001B2A 4EBA FAB0 jsr [PC - 0x550 /* 000015DC */]
label00001B2E:
00001B2E 285F movea.l A4, [A7]+
00001B30 4E5E unlink A6
00001B32 4E75 rts
fn00001B34:
00001B34 4E56 0000 link A6, 0
00001B38 48E7 0118 movem.l -[A7], D7,A3,A4
00001B3C 286E 0008 movea.l A4, [A6 + 0x8]
00001B40 7E00 moveq.l D7, 0x00
00001B42 206D FB40 movea.l A0, [A5 - 0x4C0]
00001B46 2050 movea.l A0, [A0]
00001B48 4A68 0024 tst.w [A0 + 0x24]
00001B4C 660A bne +0xC /* 00001B58 */
00001B4E 4267 clr.w -[A7]
00001B50 4EBA F942 jsr [PC - 0x6BE /* 00001494 */]
00001B54 548F addq.l A7, 2
00001B56 600A bra +0xC /* 00001B62 */
label00001B58:
00001B58 082C 0001 000E btst.b [A4 + 0xE], 0x1
00001B5E 6702 beq +0x4 /* 00001B62 */
00001B60 7E01 moveq.l D7, 0x01
label00001B62:
00001B62 4EBA F9BA jsr [PC - 0x646 /* 0000151E */]
00001B66 486C 000A pea.l [A4 + 0xA]
00001B6A A871 syscall GlobalToLocal
00001B6C 2F2C 000A move.l -[A7], [A4 + 0xA]
00001B70 1F07 move.b -[A7], D7
00001B72 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001B76 A9D4 syscall TEClick
00001B78 206D FB40 movea.l A0, [A5 - 0x4C0]
00001B7C 2650 movea.l A3, [A0]
00001B7E 302B 0020 move.w D0, [A3 + 0x20]
00001B82 B06B 0022 cmp.w D0, [A3 + 0x22]
00001B86 6656 bne +0x58 /* 00001BDE */
00001B88 377C 00FF 0046 move.w [A3 + 0x46], 0xFF
00001B8E 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001B94 6706 beq +0x8 /* 00001B9C */
00001B96 4A2D FB58 tst.b [A5 - 0x4A8]
00001B9A 6A08 bpl +0xA /* 00001BA4 */
label00001B9C:
00001B9C 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001BA0 A9D9 syscall TEDeactivate
00001BA2 603A bra +0x3C /* 00001BDE */
label00001BA4:
00001BA4 302B 0020 move.w D0, [A3 + 0x20]
00001BA8 B06D FB74 cmp.w D0, [A5 - 0x48C]
00001BAC 6C14 bge +0x16 /* 00001BC2 */
00001BAE 306D FB74 movea.w A0, [A5 - 0x48C]
00001BB2 2F08 move.l -[A7], A0
00001BB4 306D FB74 movea.w A0, [A5 - 0x48C]
00001BB8 2F08 move.l -[A7], A0
00001BBA 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001BBE A9D1 syscall TESetSelect
00001BC0 601C bra +0x1E /* 00001BDE */
label00001BC2:
00001BC2 302B 0022 move.w D0, [A3 + 0x22]
00001BC6 B06D FB76 cmp.w D0, [A5 - 0x48A]
00001BCA 6F12 ble +0x14 /* 00001BDE */
00001BCC 306D FB76 movea.w A0, [A5 - 0x48A]
00001BD0 2F08 move.l -[A7], A0
00001BD2 306D FB76 movea.w A0, [A5 - 0x48A]
00001BD6 2F08 move.l -[A7], A0
00001BD8 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001BDC A9D1 syscall TESetSelect
label00001BDE:
00001BDE 4CDF 1880 movem.l D7,A3,A4, [A7]+
00001BE2 4E5E unlink A6
00001BE4 4E75 rts
fn00001BE6:
00001BE6 4E56 0000 link A6, 0
00001BEA 4A2D FB58 tst.b [A5 - 0x4A8]
00001BEE 6A08 bpl +0xA /* 00001BF8 */
00001BF0 701F moveq.l D0, 0x1F
00001BF2 C06E 0008 and.w D0, [A6 + 0x8]
00001BF6 6054 bra +0x56 /* 00001C4C */
label00001BF8:
00001BF8 302E 0008 move.w D0, [A6 + 0x8]
00001BFC 0440 002E subi.w D0, 0x2E /* '.' */
00001C00 0C40 004C cmpi.w D0, 0x4C /* 'L' */
00001C04 6244 bhi +0x46 /* 00001C4A */
00001C06 43FA 0048 lea.l A1, [PC + 0x48 /* 00001C50, value 0xFFD4FFFA */]
00001C0A D040 add.w D0, D0
00001C0C D2F1 0000 add.w A1, [A1 + D0.w]
00001C10 4ED1 jmp [A1]
00001C12 4EBA 0308 jsr [PC + 0x308 /* 00001F1C */]
00001C16 6032 bra +0x34 /* 00001C4A */
00001C18 4EBA 0350 jsr [PC + 0x350 /* 00001F6A */]
00001C1C 602C bra +0x2E /* 00001C4A */
00001C1E 4EBA 038C jsr [PC + 0x38C /* 00001FAC */]
00001C22 6026 bra +0x28 /* 00001C4A */
00001C24 4A2D FB5A tst.b [A5 - 0x4A6]
00001C28 6706 beq +0x8 /* 00001C30 */
00001C2A 1B7C 0001 FB5C move.b [A5 - 0x4A4], 0x1
label00001C30:
00001C30 7004 moveq.l D0, 0x04
00001C32 6018 bra +0x1A /* 00001C4C */
00001C34 7015 moveq.l D0, 0x15
00001C36 6014 bra +0x16 /* 00001C4C */
00001C38 4A2D FB5A tst.b [A5 - 0x4A6]
00001C3C 670C beq +0xE /* 00001C4A */
00001C3E 426D FAEC clr.w [A5 - 0x514]
00001C42 4267 clr.w -[A7]
00001C44 4EBA E820 jsr [PC - 0x17E0 /* 00000466 */]
00001C48 548F addq.l A7, 2
label00001C4A:
00001C4A 7000 moveq.l D0, 0x00
label00001C4C:
00001C4C 4E5E unlink A6
00001C4E 4E75 rts
00001C50 FFD4 .extension 0xFD4 // unimplemented
00001C52 FFFA .extension 0xFFA // unimplemented
00001C54 FFFA .extension 0xFFA // unimplemented
00001C56 FFFA .extension 0xFFA // unimplemented
00001C58 FFFA .extension 0xFFA // unimplemented
00001C5A FFFA .extension 0xFFA // unimplemented
00001C5C FFFA .extension 0xFFA // unimplemented
00001C5E FFFA .extension 0xFFA // unimplemented
00001C60 FFFA .extension 0xFFA // unimplemented
00001C62 FFFA .extension 0xFFA // unimplemented
00001C64 FFFA .extension 0xFFA // unimplemented
00001C66 FFFA .extension 0xFFA // unimplemented
00001C68 FFFA .extension 0xFFA // unimplemented
00001C6A FFFA .extension 0xFFA // unimplemented
00001C6C FFFA .extension 0xFFA // unimplemented
00001C6E FFFA .extension 0xFFA // unimplemented
00001C70 FFFA .extension 0xFFA // unimplemented
00001C72 FFFA .extension 0xFFA // unimplemented
00001C74 FFFA .extension 0xFFA // unimplemented
00001C76 FFFA .extension 0xFFA // unimplemented
00001C78 FFFA .extension 0xFFA // unimplemented
00001C7A FFC8 .extension 0xFC8 // unimplemented
00001C7C FFE0 .extension 0xFE0 // unimplemented
00001C7E FFFA .extension 0xFFA // unimplemented
00001C80 FFFA .extension 0xFFA // unimplemented
00001C82 FFFA .extension 0xFFA // unimplemented
00001C84 FFFA .extension 0xFFA // unimplemented
00001C86 FFFA .extension 0xFFA // unimplemented
00001C88 FFFA .extension 0xFFA // unimplemented
00001C8A FFFA .extension 0xFFA // unimplemented
00001C8C FFFA .extension 0xFFA // unimplemented
00001C8E FFFA .extension 0xFFA // unimplemented
00001C90 FFFA .extension 0xFFA // unimplemented
00001C92 FFFA .extension 0xFFA // unimplemented
00001C94 FFFA .extension 0xFFA // unimplemented
00001C96 FFE8 .extension 0xFE8 // unimplemented
00001C98 FFFA .extension 0xFFA // unimplemented
00001C9A FFFA .extension 0xFFA // unimplemented
00001C9C FFFA .extension 0xFFA // unimplemented
00001C9E FFE4 .extension 0xFE4 // unimplemented
00001CA0 FFCE .extension 0xFCE // unimplemented
00001CA2 FFFA .extension 0xFFA // unimplemented
00001CA4 FFC2 .extension 0xFC2 // unimplemented
00001CA6 FFFA .extension 0xFFA // unimplemented
00001CA8 FFE4 .extension 0xFE4 // unimplemented
00001CAA FFFA .extension 0xFFA // unimplemented
00001CAC FFFA .extension 0xFFA // unimplemented
00001CAE FFFA .extension 0xFFA // unimplemented
00001CB0 FFFA .extension 0xFFA // unimplemented
00001CB2 FFFA .extension 0xFFA // unimplemented
00001CB4 FFFA .extension 0xFFA // unimplemented
00001CB6 FFFA .extension 0xFFA // unimplemented
00001CB8 FFFA .extension 0xFFA // unimplemented
00001CBA FFC8 .extension 0xFC8 // unimplemented
00001CBC FFE0 .extension 0xFE0 // unimplemented
00001CBE FFFA .extension 0xFFA // unimplemented
00001CC0 FFFA .extension 0xFFA // unimplemented
00001CC2 FFFA .extension 0xFFA // unimplemented
00001CC4 FFFA .extension 0xFFA // unimplemented
00001CC6 FFFA .extension 0xFFA // unimplemented
00001CC8 FFFA .extension 0xFFA // unimplemented
00001CCA FFFA .extension 0xFFA // unimplemented
00001CCC FFFA .extension 0xFFA // unimplemented
00001CCE FFFA .extension 0xFFA // unimplemented
00001CD0 FFFA .extension 0xFFA // unimplemented
00001CD2 FFFA .extension 0xFFA // unimplemented
00001CD4 FFFA .extension 0xFFA // unimplemented
00001CD6 FFE8 .extension 0xFE8 // unimplemented
00001CD8 FFFA .extension 0xFFA // unimplemented
00001CDA FFFA .extension 0xFFA // unimplemented
00001CDC FFFA .extension 0xFFA // unimplemented
00001CDE FFE4 .extension 0xFE4 // unimplemented
00001CE0 FFCE .extension 0xFCE // unimplemented
00001CE2 FFFA .extension 0xFFA // unimplemented
00001CE4 FFC2 .extension 0xFC2 // unimplemented
00001CE6 FFFA .extension 0xFFA // unimplemented
00001CE8 FFE4 .extension 0xFE4 // unimplemented
fn00001CEA:
00001CEA 4E56 0000 link A6, 0
00001CEE 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00001CF2 206D FB40 movea.l A0, [A5 - 0x4C0]
00001CF6 2850 movea.l A4, [A0]
00001CF8 3E2C 0020 move.w D7, [A4 + 0x20]
00001CFC 3C2C 0022 move.w D6, [A4 + 0x22]
00001D00 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001D06 6700 01CC beq +0x1CE /* 00001ED4 */
00001D0A 082D 0003 FB58 btst.b [A5 - 0x4A8], 0x3
00001D10 670A beq +0xC /* 00001D1C */
00001D12 0C6E 007F 0008 cmpi.w [A6 + 0x8], 0x7F
00001D18 6E00 01BA bgt +0x1BC /* 00001ED4 */
label00001D1C:
00001D1C 4A2D FB58 tst.b [A5 - 0x4A8]
00001D20 6A14 bpl +0x16 /* 00001D36 */
00001D22 206D FB6C movea.l A0, [A5 - 0x494]
00001D26 52AD FB6C addq.l [A5 - 0x494], 1
00001D2A 10AE 0009 move.b [A0], [A6 + 0x9]
00001D2E 42AD FB70 clr.l [A5 - 0x490]
00001D32 6000 01A6 bra +0x1A8 /* 00001EDA */
label00001D36:
00001D36 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00001D3C 6C00 00D2 bge +0xD4 /* 00001E10 */
00001D40 302E 0008 move.w D0, [A6 + 0x8]
00001D44 5740 subq.w D0, 3
00001D46 0C40 001C cmpi.w D0, 0x1C
00001D4A 6200 018E bhi +0x190 /* 00001EDA */
00001D4E 43FA 0192 lea.l A1, [PC + 0x192 /* 00001EE2, value 0xFEEAFEEA */]
00001D52 D040 add.w D0, D0
00001D54 D2F1 0000 add.w A1, [A1 + D0.w]
00001D58 4ED1 jmp [A1]
00001D5A 202D FB6C move.l D0, [A5 - 0x494]
00001D5E 90AD FB68 sub.l D0, [A5 - 0x498]
00001D62 D1AD FB70 add.l [A5 - 0x490], D0
00001D66 2B6D FB68 FB6C move.l [A5 - 0x494], [A5 - 0x498]
00001D6C 3E2D FB74 move.w D7, [A5 - 0x48C]
00001D70 3C2D FB76 move.w D6, [A5 - 0x48A]
00001D74 6000 009A bra +0x9C /* 00001E10 */
00001D78 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001D7E 6600 0090 bne +0x92 /* 00001E10 */
00001D82 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
00001D88 6600 00F4 bne +0xF6 /* 00001E7E */
00001D8C 202D FB6C move.l D0, [A5 - 0x494]
00001D90 B0AD FB68 cmp.l D0, [A5 - 0x498]
00001D94 6700 013E beq +0x140 /* 00001ED4 */
00001D98 53AD FB6C subq.l [A5 - 0x494], 1
00001D9C 52AD FB70 addq.l [A5 - 0x490], 1
00001DA0 6000 010C bra +0x10E /* 00001EAE */
00001DA4 BC47 cmp.w D6, D7
00001DA6 6600 0106 bne +0x108 /* 00001EAE */
00001DAA 5347 subq.w D7, 1
00001DAC 6000 0100 bra +0x102 /* 00001EAE */
00001DB0 BC47 cmp.w D6, D7
00001DB2 6602 bne +0x4 /* 00001DB6 */
00001DB4 5246 addq.w D6, 1
label00001DB6:
00001DB6 3E06 move.w D7, D6
00001DB8 6000 00F4 bra +0xF6 /* 00001EAE */
00001DBC 3E2D FB74 move.w D7, [A5 - 0x48C]
00001DC0 6000 00EC bra +0xEE /* 00001EAE */
00001DC4 3E2D FB76 move.w D7, [A5 - 0x48A]
00001DC8 6000 00E4 bra +0xE6 /* 00001EAE */
00001DCC 3A2D FB76 move.w D5, [A5 - 0x48A]
00001DD0 9A6D FB74 sub.w D5, [A5 - 0x48C]
00001DD4 671A beq +0x1C /* 00001DF0 */
00001DD6 206C 003E movea.l A0, [A4 + 0x3E]
00001DDA 366D FB74 movea.w A3, [A5 - 0x48C]
00001DDE D7D0 add.l A3, [A0]
00001DE0 206D FB6C movea.l A0, [A5 - 0x494]
00001DE4 6002 bra +0x4 /* 00001DE8 */
label00001DE6:
00001DE6 10DB move.b [A0]+, [A3]+
label00001DE8:
00001DE8 51CD FFFC dbf D5, -0x6 /* 00001DE6 */
00001DEC 2B48 FB6C move.l [A5 - 0x494], A0
label00001DF0:
00001DF0 0C6E 0004 0008 cmpi.w [A6 + 0x8], 0x4
00001DF6 670C beq +0xE /* 00001E04 */
00001DF8 206D FB6C movea.l A0, [A5 - 0x494]
00001DFC 52AD FB6C addq.l [A5 - 0x494], 1
00001E00 10BC 000A move.b [A0], 0xA /* '\n' */
label00001E04:
00001E04 4EBA F944 jsr [PC - 0x6BC /* 0000174A */]
00001E08 42AD FB70 clr.l [A5 - 0x490]
00001E0C 6000 00CC bra +0xCE /* 00001EDA */
label00001E10:
00001E10 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001E16 6728 beq +0x2A /* 00001E40 */
00001E18 BC47 cmp.w D6, D7
00001E1A 660A bne +0xC /* 00001E26 */
00001E1C 0C6E 0008 0008 cmpi.w [A6 + 0x8], 0x8
00001E22 661C bne +0x1E /* 00001E40 */
00001E24 5347 subq.w D7, 1
label00001E26:
00001E26 BE6D FB74 cmp.w D7, [A5 - 0x48C]
00001E2A 6D00 00A8 blt +0xAA /* 00001ED4 */
00001E2E BC6D FB76 cmp.w D6, [A5 - 0x48A]
00001E32 6E00 00A0 bgt +0xA2 /* 00001ED4 */
00001E36 3F06 move.w -[A7], D6
00001E38 3F07 move.w -[A7], D7
00001E3A 4EBA F4FC jsr [PC - 0xB04 /* 00001338 */]
00001E3E 588F addq.l A7, 4
label00001E40:
00001E40 0C6E 0020 0008 cmpi.w [A6 + 0x8], 0x20 /* ' ' */
00001E46 6D66 blt +0x68 /* 00001EAE */
00001E48 302D FB76 move.w D0, [A5 - 0x48A]
00001E4C 906D FB74 sub.w D0, [A5 - 0x48C]
00001E50 72FF moveq.l D1, 0xFFFFFFFF
00001E52 D2AD FB70 add.l D1, [A5 - 0x490]
00001E56 3040 movea.w A0, D0
00001E58 B288 cmp.l D1, A0
00001E5A 6608 bne +0xA /* 00001E64 */
00001E5C 3F3C 0002 move.w -[A7], 0x2
00001E60 A9C8 syscall SysBeep
00001E62 604A bra +0x4C /* 00001EAE */
label00001E64:
00001E64 082D 0005 FB58 btst.b [A5 - 0x4A8], 0x5
00001E6A 6712 beq +0x14 /* 00001E7E */
00001E6C 3007 move.w D0, D7
00001E6E 5247 addq.w D7, 1
00001E70 3F00 move.w -[A7], D0
00001E72 1F2E 0009 move.b -[A7], [A6 + 0x9]
00001E76 4EBA F544 jsr [PC - 0xABC /* 000013BC */]
00001E7A 588F addq.l A7, 4
00001E7C 6030 bra +0x32 /* 00001EAE */
label00001E7E:
00001E7E 206D FB6C movea.l A0, [A5 - 0x494]
00001E82 52AD FB6C addq.l [A5 - 0x494], 1
00001E86 10AE 0009 move.b [A0], [A6 + 0x9]
00001E8A 082D 0006 FB58 btst.b [A5 - 0x4A8], 0x6
00001E90 6718 beq +0x1A /* 00001EAA */
00001E92 3F3C 0001 move.w -[A7], 0x1
00001E96 206D FB6C movea.l A0, [A5 - 0x494]
00001E9A 4868 FFFF pea.l [A0 - 0x1]
00001E9E 4EBA F2D2 jsr [PC - 0xD2E /* 00001172 */]
00001EA2 5C8F addq.l A7, 6
00001EA4 42AD FB70 clr.l [A5 - 0x490]
00001EA8 6030 bra +0x32 /* 00001EDA */
label00001EAA:
00001EAA 53AD FB70 subq.l [A5 - 0x490], 1
label00001EAE:
00001EAE BE6D FB76 cmp.w D7, [A5 - 0x48A]
00001EB2 6F06 ble +0x8 /* 00001EBA */
00001EB4 3E2D FB76 move.w D7, [A5 - 0x48A]
00001EB8 600A bra +0xC /* 00001EC4 */
label00001EBA:
00001EBA BE6D FB74 cmp.w D7, [A5 - 0x48C]
00001EBE 6C04 bge +0x6 /* 00001EC4 */
00001EC0 3E2D FB74 move.w D7, [A5 - 0x48C]
label00001EC4:
00001EC4 3007 move.w D0, D7
00001EC6 906D FB74 sub.w D0, [A5 - 0x48C]
00001ECA 3F00 move.w -[A7], D0
00001ECC 4EBA F5C6 jsr [PC - 0xA3A /* 00001494 */]
00001ED0 548F addq.l A7, 2
00001ED2 6006 bra +0x8 /* 00001EDA */
label00001ED4:
00001ED4 3F3C 0002 move.w -[A7], 0x2
00001ED8 A9C8 syscall SysBeep
label00001EDA:
00001EDA 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
00001EDE 4E5E unlink A6
00001EE0 4E75 rts
00001EE2 FEEA .extension 0xEEA // unimplemented
00001EE4 FEEA .extension 0xEEA // unimplemented
00001EE6 FFF8 .extension 0xFF8 // unimplemented
00001EE8 FFF8 .extension 0xFF8 // unimplemented
00001EEA FFF8 .extension 0xFF8 // unimplemented
00001EEC FE96 .extension 0xE96 // unimplemented
00001EEE FEE2 .extension 0xEE2 // unimplemented
00001EF0 FFF8 .extension 0xFF8 // unimplemented
00001EF2 FFF8 .extension 0xFF8 // unimplemented
00001EF4 FFF8 .extension 0xFF8 // unimplemented
00001EF6 FEEA .extension 0xEEA // unimplemented
00001EF8 FFF8 .extension 0xFF8 // unimplemented
00001EFA FFF8 .extension 0xFF8 // unimplemented
00001EFC FFF8 .extension 0xFF8 // unimplemented
00001EFE FFF8 .extension 0xFF8 // unimplemented
00001F00 FFF8 .extension 0xFF8 // unimplemented
00001F02 FFF8 .extension 0xFF8 // unimplemented
00001F04 FFF8 .extension 0xFF8 // unimplemented
00001F06 FE78 .extension 0xE78 // unimplemented
00001F08 FFF8 .extension 0xFF8 // unimplemented
00001F0A FFF8 .extension 0xFF8 // unimplemented
00001F0C FFF8 .extension 0xFF8 // unimplemented
00001F0E FFF8 .extension 0xFF8 // unimplemented
00001F10 FFF8 .extension 0xFF8 // unimplemented
00001F12 FE78 .extension 0xE78 // unimplemented
00001F14 FEC2 .extension 0xEC2 // unimplemented
00001F16 FECE .extension 0xECE // unimplemented
00001F18 FEDA .extension 0xEDA // unimplemented
00001F1A FEE2 .extension 0xEE2 // unimplemented
fn00001F1C:
00001F1C 2F0C move.l -[A7], A4
00001F1E 206D FB40 movea.l A0, [A5 - 0x4C0]
00001F22 2850 movea.l A4, [A0]
00001F24 4A6C 0024 tst.w [A4 + 0x24]
00001F28 673C beq +0x3E /* 00001F66 */
00001F2A 302C 0020 move.w D0, [A4 + 0x20]
00001F2E B06C 0022 cmp.w D0, [A4 + 0x22]
00001F32 6C32 bge +0x34 /* 00001F66 */
00001F34 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001F3A 6714 beq +0x16 /* 00001F50 */
00001F3C 302C 0020 move.w D0, [A4 + 0x20]
00001F40 B06D FB74 cmp.w D0, [A5 - 0x48C]
00001F44 6D0A blt +0xC /* 00001F50 */
00001F46 302C 0022 move.w D0, [A4 + 0x22]
00001F4A B06D FB76 cmp.w D0, [A5 - 0x48A]
00001F4E 6F08 ble +0xA /* 00001F58 */
label00001F50:
00001F50 3F3C 0002 move.w -[A7], 0x2
00001F54 A9C8 syscall SysBeep
00001F56 600E bra +0x10 /* 00001F66 */
label00001F58:
00001F58 4EBA 0010 jsr [PC + 0x10 /* 00001F6A */]
00001F5C 3F3C 0008 move.w -[A7], 0x8
00001F60 4EBA FD88 jsr [PC - 0x278 /* 00001CEA */]
00001F64 548F addq.l A7, 2
label00001F66:
00001F66 285F movea.l A4, [A7]+
00001F68 4E75 rts
fn00001F6A:
00001F6A 2F0C move.l -[A7], A4
00001F6C 206D FB40 movea.l A0, [A5 - 0x4C0]
00001F70 2850 movea.l A4, [A0]
00001F72 4A6C 0024 tst.w [A4 + 0x24]
00001F76 6730 beq +0x32 /* 00001FA8 */
00001F78 302C 0020 move.w D0, [A4 + 0x20]
00001F7C B06C 0022 cmp.w D0, [A4 + 0x22]
00001F80 6C26 bge +0x28 /* 00001FA8 */
00001F82 2F2D FB40 move.l -[A7], [A5 - 0x4C0]
00001F86 A9D5 syscall TECopy
00001F88 42A7 clr.l -[A7]
00001F8A A9FC syscall ZeroScrap
00001F8C 4297 clr.l [A7]
00001F8E 3078 0AB0 movea.w A0, [0x00000AB0 /* TEScrpLength */]
00001F92 2F08 move.l -[A7], A0
00001F94 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00001F9A 4EBA F77E jsr [PC - 0x882 /* 0000171A */]
00001F9E 2F00 move.l -[A7], D0
00001FA0 A9FE syscall PutScrap
00001FA2 4EBA F79E jsr [PC - 0x862 /* 00001742 */]
00001FA6 588F addq.l A7, 4
label00001FA8:
00001FA8 285F movea.l A4, [A7]+
00001FAA 4E75 rts
fn00001FAC:
00001FAC 082D 0004 FB58 btst.b [A5 - 0x4A8], 0x4
00001FB2 6720 beq +0x22 /* 00001FD4 */
00001FB4 206D FB40 movea.l A0, [A5 - 0x4C0]
00001FB8 2050 movea.l A0, [A0]
00001FBA 3028 0020 move.w D0, [A0 + 0x20]
00001FBE B06D FB74 cmp.w D0, [A5 - 0x48C]
00001FC2 6D10 blt +0x12 /* 00001FD4 */
00001FC4 206D FB40 movea.l A0, [A5 - 0x4C0]
00001FC8 2050 movea.l A0, [A0]
00001FCA 3028 0022 move.w D0, [A0 + 0x22]
00001FCE B06D FB76 cmp.w D0, [A5 - 0x48A]
00001FD2 6F08 ble +0xA /* 00001FDC */
label00001FD4:
00001FD4 3F3C 0002 move.w -[A7], 0x2
00001FD8 A9C8 syscall SysBeep
00001FDA 6032 bra +0x34 /* 0000200E */
label00001FDC:
00001FDC 42A7 clr.l -[A7]
00001FDE 2F38 0AB4 move.l -[A7], [0x00000AB4 /* TEScrpHandle */]
00001FE2 2F3C 5445 5854 move.l -[A7], 0x54455854 /* 'TEXT' */
00001FE8 486D FB4C pea.l [A5 - 0x4B4]
00001FEC A9FD syscall GetScrap
00001FEE 201F move.l D0, [A7]+
00001FF0 2B40 FB50 move.l [A5 - 0x4B0], D0
00001FF4 4A80 tst.l D0
00001FF6 6F12 ble +0x14 /* 0000200A */
00001FF8 2B78 0AB4 FB48 move.l [A5 - 0x4B8], [0x00000AB4 /* TEScrpHandle */]
00001FFE 7000 moveq.l D0, 0x00
00002000 A122 syscall NewHandle, flags=1
00002002 21C8 0AB4 move.l [0x00000AB4 /* TEScrpHandle */], A0
00002006 42AD FB4C clr.l [A5 - 0x4B4]
label0000200A:
0000200A 4278 0AB0 clr.w [0x00000AB0 /* TEScrpLength */]
label0000200E:
0000200E 4E75 rts
fn00002010:
00002010 4A2D FB5B tst.b [A5 - 0x4A5]
00002014 6622 bne +0x24 /* 00002038 */
00002016 2F3C C800 0000 move.l -[A7], 0xC8000000
0000201C A8FD syscall PrGlue
0000201E 4267 clr.w -[A7]
00002020 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002026 A8FD syscall PrGlue
00002028 4A5F tst.w [A7]+
0000202A 660C bne +0xE /* 00002038 */
0000202C 4EBA 000C jsr [PC + 0xC /* 0000203A */]
00002030 2F3C D000 0000 move.l -[A7], 0xD0000000
00002036 A8FD syscall PrGlue
label00002038:
00002038 4E75 rts
fn0000203A:
0000203A 4E56 FDD6 link A6, -0x022A
0000203E 48E7 0738 movem.l -[A7], D5,D6,D7,A2,A3,A4
00002042 7078 moveq.l D0, 0x78
00002044 A122 syscall NewHandle, flags=1
00002046 2848 movea.l A4, A0
00002048 2F0C move.l -[A7], A4
0000204A 2F3C 2004 0480 move.l -[A7], 0x20040480
00002050 A8FD syscall PrGlue
00002052 4AAD FB28 tst.l [A5 - 0x4D8]
00002056 6716 beq +0x18 /* 0000206E */
00002058 2F2D FB28 move.l -[A7], [A5 - 0x4D8]
0000205C 2F0C move.l -[A7], A4
0000205E 2F3C 5804 089C move.l -[A7], 0x5804089C
00002064 A8FD syscall PrGlue
00002066 206D FB28 movea.l A0, [A5 - 0x4D8]
0000206A A023 syscall DisposHandle/DisposeHandle
0000206C 601C bra +0x1E /* 0000208A */
label0000206E:
0000206E A850 syscall InitCursor
00002070 4227 clr.b -[A7]
00002072 2F0C move.l -[A7], A4
00002074 2F3C 3204 0488 move.l -[A7], 0x32040488
0000207A A8FD syscall PrGlue
0000207C 4A1F tst.b [A7]+
0000207E 660A bne +0xC /* 0000208A */
00002080 1B7C 0001 FB5B move.b [A5 - 0x4A5], 0x1
00002086 6000 0136 bra +0x138 /* 000021BE */
label0000208A:
0000208A 2B4C FB28 move.l [A5 - 0x4D8], A4
0000208E 486E FFFC pea.l [A6 - 0x4]
00002092 A874 syscall GetPort
00002094 42A7 clr.l -[A7]
00002096 2F0C move.l -[A7], A4
00002098 42A7 clr.l -[A7]
0000209A 42A7 clr.l -[A7]
0000209C 2F3C 0400 0C00 move.l -[A7], 0x4000C00
000020A2 A8FD syscall PrGlue
000020A4 265F movea.l A3, [A7]+
000020A6 206D FB40 movea.l A0, [A5 - 0x4C0]
000020AA 2450 movea.l A2, [A0]
000020AC 3F2A 004A move.w -[A7], [A2 + 0x4A]
000020B0 A887 syscall TextFont
000020B2 3F2A 0050 move.w -[A7], [A2 + 0x50]
000020B6 A88A syscall TextSize
000020B8 7000 moveq.l D0, 0x00
000020BA 102A 004C move.b D0, [A2 + 0x4C]
000020BE 3F00 move.w -[A7], D0
000020C0 A888 syscall TextFace
000020C2 3E2A 001A move.w D7, [A2 + 0x1A]
000020C6 2054 movea.l A0, [A4]
000020C8 2D68 0008 FFF4 move.l [A6 - 0xC], [A0 + 0x8]
000020CE 2D68 000C FFF8 move.l [A6 - 0x8], [A0 + 0xC]
000020D4 3C2E FFF8 move.w D6, [A6 - 0x8]
000020D8 9C6E FFF4 sub.w D6, [A6 - 0xC]
000020DC 48C6 ext.l D6
000020DE 8DED FB32 divs.w D6, [A5 - 0x4CE]
000020E2 7024 moveq.l D0, 0x24
000020E4 D06E FFF6 add.w D0, [A6 - 0xA]
000020E8 3D40 FFF2 move.w [A6 - 0xE], D0
000020EC 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
000020F0 4EBA 08E8 jsr [PC + 0x8E8 /* 000029DA */]
000020F4 206D FB54 movea.l A0, [A5 - 0x4AC]
000020F8 0890 0006 bclr.b [A0], 0x6
000020FC 588F addq.l A7, 4
label000020FE:
000020FE 2F0B move.l -[A7], A3
00002100 42A7 clr.l -[A7]
00002102 2F3C 1000 0808 move.l -[A7], 0x10000808
00002108 A8FD syscall PrGlue
0000210A 302E FFF4 move.w D0, [A6 - 0xC]
0000210E D047 add.w D0, D7
00002110 3D40 FFF0 move.w [A6 - 0x10], D0
00002114 7A00 moveq.l D5, 0x00
00002116 602A bra +0x2C /* 00002142 */
label00002118:
00002118 3F2E FFF2 move.w -[A7], [A6 - 0xE]
0000211C 3F2E FFF0 move.w -[A7], [A6 - 0x10]
00002120 A893 syscall MoveTo
00002122 486E FDF0 pea.l [A6 - 0x210]
00002126 4267 clr.w -[A7]
00002128 486E FDF0 pea.l [A6 - 0x210]
0000212C 4EBA 268E jsr [PC + 0x268E /* 000047BC */]
00002130 5340 subq.w D0, 1
00002132 548F addq.l A7, 2
00002134 3E80 move.w [A7], D0
00002136 A885 syscall DrawText
00002138 302D FB32 move.w D0, [A5 - 0x4CE]
0000213C D16E FFF0 add.w [A6 - 0x10], D0
00002140 5245 addq.w D5, 1
label00002142:
00002142 BC45 cmp.w D6, D5
00002144 6F18 ble +0x1A /* 0000215E */
00002146 2F2D FB54 move.l -[A7], [A5 - 0x4AC]
0000214A 3F3C 0200 move.w -[A7], 0x200
0000214E 486E FDF0 pea.l [A6 - 0x210]
00002152 4EBA 0A4C jsr [PC + 0xA4C /* 00002BA0 */]
00002156 4A80 tst.l D0
00002158 4FEF 000A lea.l A7, [A7 + 0xA]
0000215C 66BA bne -0x44 /* 00002118 */
label0000215E:
0000215E 2F0B move.l -[A7], A3
00002160 2F3C 1800 040C move.l -[A7], 0x1800040C
00002166 A8FD syscall PrGlue
00002168 4267 clr.w -[A7]
0000216A 2F3C BA00 0000 move.l -[A7], 0xBA000000
00002170 A8FD syscall PrGlue
00002172 4A5F tst.w [A7]+
00002174 660C bne +0xE /* 00002182 */
00002176 206D FB54 movea.l A0, [A5 - 0x4AC]
0000217A 0810 0005 btst.b [A0], 0x5
0000217E 6700 FF7E beq -0x80 /* 000020FE */
label00002182:
00002182 2F0B move.l -[A7], A3
00002184 2F3C 0800 0484 move.l -[A7], 0x8000484
0000218A A8FD syscall PrGlue
0000218C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00002190 A873 syscall SetPort
00002192 2054 movea.l A0, [A4]
00002194 0C28 0001 0044 cmpi.b [A0 + 0x44], 0x1
0000219A 6622 bne +0x24 /* 000021BE */
0000219C 4267 clr.w -[A7]
0000219E 2F3C BA00 0000 move.l -[A7], 0xBA000000
000021A4 A8FD syscall PrGlue
000021A6 4A5F tst.w [A7]+
000021A8 6614 bne +0x16 /* 000021BE */
000021AA 2F0C move.l -[A7], A4
000021AC 42A7 clr.l -[A7]
000021AE 42A7 clr.l -[A7]
000021B0 42A7 clr.l -[A7]
000021B2 486E FDD6 pea.l [A6 - 0x22A]
000021B6 2F3C 6005 1480 move.l -[A7], 0x60051480
000021BC A8FD syscall PrGlue
label000021BE:
000021BE 4CDF 1CE0 movem.l D5,D6,D7,A2,A3,A4, [A7]+
000021C2 4E5E unlink A6
000021C4 4E75 rts
000021C6 4E56 0000 link A6, 0
000021CA 7000 moveq.l D0, 0x00
000021CC 102E 0009 move.b D0, [A6 + 0x9]
000021D0 204D movea.l A0, A5
000021D2 D1C0 add.l A0, D0
000021D4 1028 FBEA move.b D0, [A0 - 0x416]
000021D8 4880 ext.w D0
000021DA 0240 00D0 andi.w D0, 0xD0
000021DE 4E5E unlink A6
000021E0 4E75 rts
000021E2 4E56 0000 link A6, 0
000021E6 7000 moveq.l D0, 0x00
000021E8 102E 0009 move.b D0, [A6 + 0x9]
000021EC 204D movea.l A0, A5
000021EE D1C0 add.l A0, D0
000021F0 1028 FBEA move.b D0, [A0 - 0x416]
000021F4 4880 ext.w D0
000021F6 0240 00C0 andi.w D0, 0xC0
000021FA 4E5E unlink A6
000021FC 4E75 rts
000021FE 4E56 0000 link A6, 0
00002202 7000 moveq.l D0, 0x00
00002204 102E 0009 move.b D0, [A6 + 0x9]
00002208 204D movea.l A0, A5
0000220A D1C0 add.l A0, D0
0000220C 1028 FBEA move.b D0, [A0 - 0x416]
00002210 4880 ext.w D0
00002212 0240 0003 andi.w D0, 0x3
00002216 4E5E unlink A6
00002218 4E75 rts
0000221A 4E56 0000 link A6, 0
0000221E 7000 moveq.l D0, 0x00
00002220 102E 0009 move.b D0, [A6 + 0x9]
00002224 204D movea.l A0, A5
00002226 D1C0 add.l A0, D0
00002228 1028 FBEA move.b D0, [A0 - 0x416]
0000222C 4880 ext.w D0
0000222E 0240 0010 andi.w D0, 0x10
00002232 4E5E unlink A6
00002234 4E75 rts
00002236 4E56 0000 link A6, 0
0000223A 7000 moveq.l D0, 0x00
0000223C 102E 0009 move.b D0, [A6 + 0x9]
00002240 204D movea.l A0, A5
00002242 D1C0 add.l A0, D0
00002244 1028 FBEA move.b D0, [A0 - 0x416]
00002248 4880 ext.w D0
0000224A 0240 00D8 andi.w D0, 0xD8
0000224E 4E5E unlink A6
00002250 4E75 rts
00002252 4E56 0000 link A6, 0
00002256 7000 moveq.l D0, 0x00
00002258 102E 0009 move.b D0, [A6 + 0x9]
0000225C 204D movea.l A0, A5
0000225E D1C0 add.l A0, D0
00002260 1028 FBEA move.b D0, [A0 - 0x416]
00002264 4880 ext.w D0
00002266 0240 0080 andi.w D0, 0x80
0000226A 4E5E unlink A6
0000226C 4E75 rts
0000226E 4E56 0000 link A6, 0
00002272 7000 moveq.l D0, 0x00
00002274 102E 0009 move.b D0, [A6 + 0x9]
00002278 204D movea.l A0, A5
0000227A D1C0 add.l A0, D0
0000227C 1028 FBEA move.b D0, [A0 - 0x416]
00002280 4880 ext.w D0
00002282 0240 00DC andi.w D0, 0xDC
00002286 4E5E unlink A6
00002288 4E75 rts
0000228A 4E56 0000 link A6, 0
0000228E 7000 moveq.l D0, 0x00
00002290 102E 0009 move.b D0, [A6 + 0x9]
00002294 204D movea.l A0, A5
00002296 D1C0 add.l A0, D0
00002298 1028 FBEA move.b D0, [A0 - 0x416]
0000229C 4880 ext.w D0
0000229E 0240 0008 andi.w D0, 0x8
000022A2 4E5E unlink A6
000022A4 4E75 rts
000022A6 4E56 0000 link A6, 0
000022AA 7000 moveq.l D0, 0x00
000022AC 102E 0009 move.b D0, [A6 + 0x9]
000022B0 204D movea.l A0, A5
000022B2 D1C0 add.l A0, D0
000022B4 1028 FBEA move.b D0, [A0 - 0x416]
000022B8 4880 ext.w D0
000022BA 0240 0006 andi.w D0, 0x6
000022BE 4E5E unlink A6
000022C0 4E75 rts
000022C2 4E56 0000 link A6, 0
000022C6 7000 moveq.l D0, 0x00
000022C8 102E 0009 move.b D0, [A6 + 0x9]
000022CC 204D movea.l A0, A5
000022CE D1C0 add.l A0, D0
000022D0 1028 FBEA move.b D0, [A0 - 0x416]
000022D4 4880 ext.w D0
000022D6 0240 0040 andi.w D0, 0x40 /* '@' */
000022DA 4E5E unlink A6
000022DC 4E75 rts
000022DE 4E56 0000 link A6, 0
000022E2 7000 moveq.l D0, 0x00
000022E4 102E 0009 move.b D0, [A6 + 0x9]
000022E8 204D movea.l A0, A5
000022EA D1C0 add.l A0, D0
000022EC 1028 FBEA move.b D0, [A0 - 0x416]
000022F0 4880 ext.w D0
000022F2 0240 0030 andi.w D0, 0x30 /* '0' */
000022F6 4E5E unlink A6
000022F8 4E75 rts
000022FA 4E56 0000 link A6, 0
000022FE 7000 moveq.l D0, 0x00
00002300 102E 0009 move.b D0, [A6 + 0x9]
00002304 204D movea.l A0, A5
00002306 D1C0 add.l A0, D0
00002308 4A28 FBEA tst.b [A0 - 0x416]
0000230C 6A0A bpl +0xC /* 00002318 */
0000230E 302E 0008 move.w D0, [A6 + 0x8]
00002312 0A40 0020 xori.w D0, 0x20 /* ' ' */
00002316 6004 bra +0x6 /* 0000231C */
label00002318:
00002318 302E 0008 move.w D0, [A6 + 0x8]
label0000231C:
0000231C 4E5E unlink A6
0000231E 4E75 rts
00002320 4E56 0000 link A6, 0
00002324 7000 moveq.l D0, 0x00
00002326 102E 0009 move.b D0, [A6 + 0x9]
0000232A 204D movea.l A0, A5
0000232C D1C0 add.l A0, D0
0000232E 0828 0006 FBEA btst.b [A0 - 0x416], 0x6
00002334 670A beq +0xC /* 00002340 */
00002336 302E 0008 move.w D0, [A6 + 0x8]
0000233A 0A40 0020 xori.w D0, 0x20 /* ' ' */
0000233E 6004 bra +0x6 /* 00002344 */
label00002340:
00002340 302E 0008 move.w D0, [A6 + 0x8]
label00002344:
00002344 4E5E unlink A6
00002346 4E75 rts
00002348 4E56 FECE link A6, -0x0132
0000234C 486E FECE pea.l [A6 - 0x132]
00002350 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002354 4EBA 21BC jsr [PC + 0x21BC /* 00004512 */]
00002358 2D40 FFE0 move.l [A6 - 0x20], D0
0000235C 426E FFE4 clr.w [A6 - 0x1C]
00002360 422E FFE8 clr.b [A6 - 0x18]
00002364 41EE FFCE lea.l A0, [A6 - 0x32]
00002368 A009 syscall Delete/PBHDelete/HDelete
0000236A 4A40 tst.w D0
0000236C 508F addq.l A7, 8
0000236E 670A beq +0xC /* 0000237A */
00002370 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
00002376 70FF moveq.l D0, 0xFFFFFFFF
00002378 6002 bra +0x4 /* 0000237C */
label0000237A:
0000237A 7000 moveq.l D0, 0x00
label0000237C:
0000237C 4E5E unlink A6
0000237E 4E75 rts
00002380 4E56 FDCE link A6, -0x0232
00002384 486E FECE pea.l [A6 - 0x132]
00002388 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000238C 4EBA 2184 jsr [PC + 0x2184 /* 00004512 */]
00002390 2D40 FFE0 move.l [A6 - 0x20], D0
00002394 426E FFE4 clr.w [A6 - 0x1C]
00002398 422E FFE8 clr.b [A6 - 0x18]
0000239C 486E FDCE pea.l [A6 - 0x232]
000023A0 2F2E 000C move.l -[A7], [A6 + 0xC]
000023A4 4EBA 216C jsr [PC + 0x216C /* 00004512 */]
000023A8 2D40 FFEA move.l [A6 - 0x16], D0
000023AC 41EE FFCE lea.l A0, [A6 - 0x32]
000023B0 A00B syscall Rename/PBHRename/HRename
000023B2 4A40 tst.w D0
000023B4 4FEF 0010 lea.l A7, [A7 + 0x10]
000023B8 670A beq +0xC /* 000023C4 */
000023BA 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000023C0 70FF moveq.l D0, 0xFFFFFFFF
000023C2 6002 bra +0x4 /* 000023C6 */
label000023C4:
000023C4 7000 moveq.l D0, 0x00
label000023C6:
000023C6 4E5E unlink A6
000023C8 4E75 rts
fn000023CA:
000023CA 4E56 FFEC link A6, -0x0014
000023CE 2F0C move.l -[A7], A4
000023D0 486D FCEC pea.l [A5 - 0x314]
000023D4 486D FD04 pea.l [A5 - 0x2FC]
000023D8 486E FFEC pea.l [A6 - 0x14]
000023DC 4EBA 0054 jsr [PC + 0x54 /* 00002432 */]
000023E0 4A80 tst.l D0
000023E2 4FEF 000C lea.l A7, [A7 + 0xC]
000023E6 671C beq +0x1E /* 00002404 */
000023E8 486D FD0C pea.l [A5 - 0x2F4]
000023EC 486E FFEC pea.l [A6 - 0x14]
000023F0 4EBA 00C4 jsr [PC + 0xC4 /* 000024B6 */]
000023F4 2840 movea.l A4, D0
000023F6 200C move.l D0, A4
000023F8 508F addq.l A7, 8
000023FA 6708 beq +0xA /* 00002404 */
000023FC 08D4 0000 bset.b [A4], 0x0
00002400 200C move.l D0, A4
00002402 6002 bra +0x4 /* 00002406 */
label00002404:
00002404 7000 moveq.l D0, 0x00
label00002406:
00002406 285F movea.l A4, [A7]+
00002408 4E5E unlink A6
0000240A 4E75 rts
0000240C 4E56 0000 link A6, 0
00002410 4AAE 0008 tst.l [A6 + 0x8]
00002414 6608 bne +0xA /* 0000241E */
00002416 41ED FCEE lea.l A0, [A5 - 0x312]
0000241A 2D48 0008 move.l [A6 + 0x8], A0
label0000241E:
0000241E 486D FD02 pea.l [A5 - 0x2FE]
00002422 486D FD10 pea.l [A5 - 0x2F0]
00002426 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000242A 4EBA 0006 jsr [PC + 0x6 /* 00002432 */]
0000242E 4E5E unlink A6
00002430 4E75 rts
fn00002432:
00002432 4E56 FFB0 link A6, -0x0050
00002436 48E7 0118 movem.l -[A7], D7,A3,A4
0000243A 286E 0008 movea.l A4, [A6 + 0x8]
0000243E 266E 0010 movea.l A3, [A6 + 0x10]
00002442 3E13 move.w D7, [A3]
00002444 2F2E 000C move.l -[A7], [A6 + 0xC]
00002448 4EBA 2372 jsr [PC + 0x2372 /* 000047BC */]
0000244C 5800 addq.b D0, 4
0000244E 1880 move.b [A4], D0
00002450 2D4C FFC2 move.l [A6 - 0x3E], A4
00002454 426E FFC6 clr.w [A6 - 0x3A]
00002458 422E FFCA clr.b [A6 - 0x36]
0000245C 426E FFCC clr.w [A6 - 0x34]
00002460 588F addq.l A7, 4
label00002462:
00002462 5253 addq.w [A3], 1
00002464 0C53 270F cmpi.w [A3], 0x270F
00002468 6F04 ble +0x6 /* 0000246E */
0000246A 36BC 0001 move.w [A3], 0x1
label0000246E:
0000246E BE53 cmp.w D7, [A3]
00002470 6604 bne +0x6 /* 00002476 */
00002472 7000 moveq.l D0, 0x00
00002474 6036 bra +0x38 /* 000024AC */
label00002476:
00002476 3F13 move.w -[A7], [A3]
00002478 2F2E 000C move.l -[A7], [A6 + 0xC]
0000247C 486D FD16 pea.l [A5 - 0x2EA]
00002480 486C 0001 pea.l [A4 + 0x1]
00002484 4EBA 213A jsr [PC + 0x213A /* 000045C0 */]
00002488 4FEF 000E lea.l A7, [A7 + 0xE]
0000248C 41EE FFB0 lea.l A0, [A6 - 0x50]
00002490 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
00002492 0C40 FFD5 cmpi.w D0, 0xFFD5
00002496 66CA bne -0x34 /* 00002462 */
00002498 7000 moveq.l D0, 0x00
0000249A 1014 move.b D0, [A4]
0000249C 3040 movea.w A0, D0
0000249E 4868 0001 pea.l [A0 + 0x1]
000024A2 486C 0001 pea.l [A4 + 0x1]
000024A6 2F0C move.l -[A7], A4
000024A8 4EBA 0A7E jsr [PC + 0xA7E /* 00002F28 */]
label000024AC:
000024AC 4CEE 1880 FFA4 movem.l D7,A3,A4, [A6 - 0x5C]
000024B2 4E5E unlink A6
000024B4 4E75 rts
fn000024B6:
000024B6 4E56 0000 link A6, 0
000024BA 4EBA 083E jsr [PC + 0x83E /* 00002CFA */]
000024BE 2F00 move.l -[A7], D0
000024C0 2F2E 000C move.l -[A7], [A6 + 0xC]
000024C4 2F2E 0008 move.l -[A7], [A6 + 0x8]
000024C8 4EBA 0006 jsr [PC + 0x6 /* 000024D0 */]
000024CC 4E5E unlink A6
000024CE 4E75 rts
fn000024D0:
000024D0 4E56 0000 link A6, 0
000024D4 48E7 0308 movem.l -[A7], D6,D7,A4
000024D8 286E 000C movea.l A4, [A6 + 0xC]
000024DC 0C14 0072 cmpi.b [A4], 0x72 /* 'r' */
000024E0 6606 bne +0x8 /* 000024E8 */
000024E2 7E01 moveq.l D7, 0x01
000024E4 7C00 moveq.l D6, 0x00
000024E6 6022 bra +0x24 /* 0000250A */
label000024E8:
000024E8 0C14 0077 cmpi.b [A4], 0x77 /* 'w' */
000024EC 6606 bne +0x8 /* 000024F4 */
000024EE 7E02 moveq.l D7, 0x02
000024F0 7C03 moveq.l D6, 0x03
000024F2 6016 bra +0x18 /* 0000250A */
label000024F4:
000024F4 0C14 0061 cmpi.b [A4], 0x61 /* 'a' */
000024F8 6606 bne +0x8 /* 00002500 */
000024FA 7E02 moveq.l D7, 0x02
000024FC 7C09 moveq.l D6, 0x09
000024FE 600A bra +0xC /* 0000250A */
label00002500:
00002500 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
00002506 7000 moveq.l D0, 0x00
00002508 603E bra +0x40 /* 00002548 */
label0000250A:
0000250A 0C2C 0062 0001 cmpi.b [A4 + 0x1], 0x62 /* 'b' */
00002510 6610 bne +0x12 /* 00002522 */
00002512 0046 0010 ori.w D6, 0x10
00002516 0C2C 002B 0002 cmpi.b [A4 + 0x2], 0x2B /* '+' */
0000251C 661A bne +0x1C /* 00002538 */
0000251E 7E03 moveq.l D7, 0x03
00002520 6016 bra +0x18 /* 00002538 */
label00002522:
00002522 0C2C 002B 0001 cmpi.b [A4 + 0x1], 0x2B /* '+' */
00002528 660E bne +0x10 /* 00002538 */
0000252A 7E03 moveq.l D7, 0x03
0000252C 0C2C 0062 0002 cmpi.b [A4 + 0x2], 0x62 /* 'b' */
00002532 6604 bne +0x6 /* 00002538 */
00002534 0046 0010 ori.w D6, 0x10
label00002538:
00002538 2F2E 0010 move.l -[A7], [A6 + 0x10]
0000253C 3F06 move.w -[A7], D6
0000253E 3F07 move.w -[A7], D7
00002540 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002544 4EBA 000C jsr [PC + 0xC /* 00002552 */]
label00002548:
00002548 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
0000254E 4E5E unlink A6
00002550 4E75 rts
fn00002552:
00002552 4E56 FECE link A6, -0x0132
00002556 48E7 0108 movem.l -[A7], D7,A4
0000255A 3E2E 000E move.w D7, [A6 + 0xE]
0000255E 286E 0010 movea.l A4, [A6 + 0x10]
00002562 200C move.l D0, A4
00002564 6606 bne +0x8 /* 0000256C */
00002566 7000 moveq.l D0, 0x00
00002568 6000 00FE bra +0x100 /* 00002668 */
label0000256C:
0000256C 2F0C move.l -[A7], A4
0000256E 4EBA 0942 jsr [PC + 0x942 /* 00002EB2 */]
00002572 486E FECE pea.l [A6 - 0x132]
00002576 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000257A 4EBA 1F96 jsr [PC + 0x1F96 /* 00004512 */]
0000257E 2D40 FFE0 move.l [A6 - 0x20], D0
00002582 426E FFE4 clr.w [A6 - 0x1C]
00002586 422E FFE8 clr.b [A6 - 0x18]
0000258A 1D6E 000D FFE9 move.b [A6 - 0x17], [A6 + 0xD]
00002590 42AE FFEA clr.l [A6 - 0x16]
00002594 0807 0000 btst.b D7, 0x0
00002598 4FEF 000C lea.l A7, [A7 + 0xC]
0000259C 6732 beq +0x34 /* 000025D0 */
0000259E 41EE FFCE lea.l A0, [A6 - 0x32]
000025A2 A008 syscall Create/PBHCreate/HCreate
000025A4 4A6E FFDE tst.w [A6 - 0x22]
000025A8 6606 bne +0x8 /* 000025B0 */
000025AA 0247 FFFD andi.w D7, 0xFFFD
000025AE 6020 bra +0x22 /* 000025D0 */
label000025B0:
000025B0 0C6E FFD0 FFDE cmpi.w [A6 - 0x22], 0xFFD0
000025B6 660C bne +0xE /* 000025C4 */
000025B8 0807 0002 btst.b D7, 0x2
000025BC 6606 bne +0x8 /* 000025C4 */
000025BE 0247 FFFE andi.w D7, 0xFFFE
000025C2 600C bra +0xE /* 000025D0 */
label000025C4:
000025C4 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000025CA 7000 moveq.l D0, 0x00
000025CC 6000 009A bra +0x9C /* 00002668 */
label000025D0:
000025D0 41EE FFCE lea.l A0, [A6 - 0x32]
000025D4 A000 syscall Open/PBHOpen/HOpen
000025D6 4A6E FFDE tst.w [A6 - 0x22]
000025DA 6716 beq +0x18 /* 000025F2 */
000025DC 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
000025E2 0807 0000 btst.b D7, 0x0
000025E6 6706 beq +0x8 /* 000025EE */
000025E8 41EE FFCE lea.l A0, [A6 - 0x32]
000025EC A009 syscall Delete/PBHDelete/HDelete
label000025EE:
000025EE 7000 moveq.l D0, 0x00
000025F0 6076 bra +0x78 /* 00002668 */
label000025F2:
000025F2 396E FFE6 0004 move.w [A4 + 0x4], [A6 - 0x1A]
000025F8 0807 0001 btst.b D7, 0x1
000025FC 6708 beq +0xA /* 00002606 */
000025FE 41EE FFCE lea.l A0, [A6 - 0x32]
00002602 A012 syscall SetEOF
00002604 600C bra +0xE /* 00002612 */
label00002606:
00002606 0807 0000 btst.b D7, 0x0
0000260A 6606 bne +0x8 /* 00002612 */
0000260C 41EE FFCE lea.l A0, [A6 - 0x32]
00002610 A011 syscall GetEOF
label00002612:
00002612 296E FFEA 001A move.l [A4 + 0x1A], [A6 - 0x16]
00002618 0807 0003 btst.b D7, 0x3
0000261C 670A beq +0xC /* 00002628 */
0000261E 08D4 0001 bset.b [A4], 0x1
00002622 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label00002628:
00002628 0807 0004 btst.b D7, 0x4
0000262C 6704 beq +0x6 /* 00002632 */
0000262E 08D4 0006 bset.b [A4], 0x6
label00002632:
00002632 4878 0200 push.l 0x200
00002636 4267 clr.w -[A7]
00002638 42A7 clr.l -[A7]
0000263A 2F0C move.l -[A7], A4
0000263C 4EBA 079A jsr [PC + 0x79A /* 00002DD8 */]
00002640 41ED 03C2 lea.l A0, [A5 + 0x3C2 /* export_116 */]
00002644 2948 0022 move.l [A4 + 0x22], A0
00002648 7003 moveq.l D0, 0x03
0000264A C047 and.w D0, D7
0000264C 4FEF 000E lea.l A7, [A7 + 0xE]
00002650 670C beq +0xE /* 0000265E */
00002652 3F07 move.w -[A7], D7
00002654 2F2E FFE0 move.l -[A7], [A6 - 0x20]
00002658 4EBA 0018 jsr [PC + 0x18 /* 00002672 */]
0000265C 5C8F addq.l A7, 6
label0000265E:
0000265E 486D 03CA pea.l [A5 + 0x3CA /* export_117 */]
00002662 4EBA DDE0 jsr [PC - 0x2220 /* 00000444 */]
00002666 200C move.l D0, A4
label00002668:
00002668 4CEE 1080 FEC6 movem.l D7,A4, [A6 - 0x13A]
0000266E 4E5E unlink A6
00002670 4E75 rts
fn00002672:
00002672 4E56 FFB0 link A6, -0x0050
00002676 2D6E 0008 FFC2 move.l [A6 - 0x3E], [A6 + 0x8]
0000267C 426E FFC6 clr.w [A6 - 0x3A]
00002680 422E FFCA clr.b [A6 - 0x36]
00002684 426E FFCC clr.w [A6 - 0x34]
00002688 41EE FFB0 lea.l A0, [A6 - 0x50]
0000268C A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
0000268E 4A40 tst.w D0
00002690 6624 bne +0x26 /* 000026B6 */
00002692 082E 0004 000D btst.b [A6 + 0xD], 0x4
00002698 6708 beq +0xA /* 000026A2 */
0000269A 2D6D FD1E FFD0 move.l [A6 - 0x30], [A5 - 0x2E2]
000026A0 6008 bra +0xA /* 000026AA */
label000026A2:
000026A2 2D7C 5445 5854 FFD0 move.l [A6 - 0x30], 0x54455854 /* 'TEXT' */
label000026AA:
000026AA 2D6D FD22 FFD4 move.l [A6 - 0x2C], [A5 - 0x2DE]
000026B0 41EE FFB0 lea.l A0, [A6 - 0x50]
000026B4 A00D syscall SetFileInfo/PBHSetFInfo/HSetFileInfo
label000026B6:
000026B6 4E5E unlink A6
000026B8 4E75 rts
export_117:
000026BA 48E7 0108 movem.l -[A7], D7,A4
000026BE 49ED FD26 lea.l A4, [A5 - 0x2DA]
000026C2 7E0F moveq.l D7, 0x0F
000026C4 600C bra +0xE /* 000026D2 */
label000026C6:
000026C6 2F0C move.l -[A7], A4
000026C8 4EBA 07E8 jsr [PC + 0x7E8 /* 00002EB2 */]
000026CC 588F addq.l A7, 4
000026CE 49EC 0026 lea.l A4, [A4 + 0x26]
label000026D2:
000026D2 3007 move.w D0, D7
000026D4 5347 subq.w D7, 1
000026D6 4A40 tst.w D0
000026D8 66EC bne -0x12 /* 000026C6 */
000026DA 4CDF 1080 movem.l D7,A4, [A7]+
000026DE 4E75 rts
export_116:
000026E0 4E56 FFCE link A6, -0x0032
000026E4 2F0C move.l -[A7], A4
000026E6 286E 0008 movea.l A4, [A6 + 0x8]
000026EA 3D6C 0004 FFE6 move.w [A6 - 0x1A], [A4 + 0x4]
000026F0 302E 000C move.w D0, [A6 + 0xC]
000026F4 6712 beq +0x14 /* 00002708 */
000026F6 6B00 0112 bmi +0x114 /* 0000280A */
000026FA 5540 subq.w D0, 2
000026FC 6700 0100 beq +0x102 /* 000027FE */
00002700 6A00 0108 bpl +0x10A /* 0000280A */
00002704 6000 0080 bra +0x82 /* 00002786 */
label00002708:
00002708 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
0000270E 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
00002714 4A6C 0004 tst.w [A4 + 0x4]
00002718 6F04 ble +0x6 /* 0000271E */
0000271A 7001 moveq.l D0, 0x01
0000271C 6002 bra +0x4 /* 00002720 */
label0000271E:
0000271E 7000 moveq.l D0, 0x00
label00002720:
00002720 3D40 FFFA move.w [A6 - 0x6], D0
00002724 202C 0016 move.l D0, [A4 + 0x16]
00002728 90AC 0012 sub.l D0, [A4 + 0x12]
0000272C 2D40 FFFC move.l [A6 - 0x4], D0
00002730 41EE FFCE lea.l A0, [A6 - 0x32]
00002734 A002 syscall Read
00002736 0C6E FFD9 FFDE cmpi.w [A6 - 0x22], 0xFFD9
0000273C 661E bne +0x20 /* 0000275C */
0000273E 296E FFFC 0016 move.l [A4 + 0x16], [A6 - 0x4]
00002744 296E FFF6 0012 move.l [A4 + 0x12], [A6 - 0xA]
0000274A 6706 beq +0x8 /* 00002752 */
0000274C 426E FFDE clr.w [A6 - 0x22]
00002750 600A bra +0xC /* 0000275C */
label00002752:
00002752 08D4 0005 bset.b [A4], 0x5
00002756 70FF moveq.l D0, 0xFFFFFFFF
00002758 6000 00DA bra +0xDC /* 00002834 */
label0000275C:
0000275C 4A6E FFDE tst.w [A6 - 0x22]
00002760 6600 00A8 bne +0xAA /* 0000280A */
00002764 0814 0006 btst.b [A4], 0x6
00002768 6600 00A0 bne +0xA2 /* 0000280A */
0000276C 2F3C 000D 000A move.l -[A7], 0xD000A /* '\r\0\n' */
00002772 2F2C 0012 move.l -[A7], [A4 + 0x12]
00002776 2F2C 000E move.l -[A7], [A4 + 0xE]
0000277A 4EBA 0192 jsr [PC + 0x192 /* 0000290E */]
0000277E 4FEF 000C lea.l A7, [A7 + 0xC]
00002782 6000 0086 bra +0x88 /* 0000280A */
label00002786:
00002786 2D6C 000E FFEE move.l [A6 - 0x12], [A4 + 0xE]
0000278C 2D6C 0012 FFF2 move.l [A6 - 0xE], [A4 + 0x12]
00002792 4A6C 0004 tst.w [A4 + 0x4]
00002796 6F04 ble +0x6 /* 0000279C */
00002798 7001 moveq.l D0, 0x01
0000279A 6002 bra +0x4 /* 0000279E */
label0000279C:
0000279C 7000 moveq.l D0, 0x00
label0000279E:
0000279E 3D40 FFFA move.w [A6 - 0x6], D0
000027A2 202C 0016 move.l D0, [A4 + 0x16]
000027A6 90AC 0012 sub.l D0, [A4 + 0x12]
000027AA 2D40 FFFC move.l [A6 - 0x4], D0
000027AE B0AC 001A cmp.l D0, [A4 + 0x1A]
000027B2 6310 bls +0x12 /* 000027C4 */
000027B4 2D6E FFFC FFEA move.l [A6 - 0x16], [A6 - 0x4]
000027BA 41EE FFCE lea.l A0, [A6 - 0x32]
000027BE A012 syscall SetEOF
000027C0 4A40 tst.w D0
000027C2 6646 bne +0x48 /* 0000280A */
label000027C4:
000027C4 0814 0006 btst.b [A4], 0x6
000027C8 6616 bne +0x18 /* 000027E0 */
000027CA 2F3C 000A 000D move.l -[A7], 0xA000D /* '\n\0\r' */
000027D0 2F2C 0012 move.l -[A7], [A4 + 0x12]
000027D4 2F2C 000E move.l -[A7], [A4 + 0xE]
000027D8 4EBA 0134 jsr [PC + 0x134 /* 0000290E */]
000027DC 4FEF 000C lea.l A7, [A7 + 0xC]
label000027E0:
000027E0 41EE FFCE lea.l A0, [A6 - 0x32]
000027E4 A003 syscall Write
000027E6 4A6E FFDE tst.w [A6 - 0x22]
000027EA 661E bne +0x20 /* 0000280A */
000027EC 202E FFFC move.l D0, [A6 - 0x4]
000027F0 B0AC 001A cmp.l D0, [A4 + 0x1A]
000027F4 6314 bls +0x16 /* 0000280A */
000027F6 296E FFFC 001A move.l [A4 + 0x1A], [A6 - 0x4]
000027FC 600C bra +0xE /* 0000280A */
label000027FE:
000027FE 2F0C move.l -[A7], A4
00002800 4EBA 0038 jsr [PC + 0x38 /* 0000283A */]
00002804 3D40 FFDE move.w [A6 - 0x22], D0
00002808 588F addq.l A7, 4
label0000280A:
0000280A 4A6E FFDE tst.w [A6 - 0x22]
0000280E 6722 beq +0x24 /* 00002832 */
00002810 0C6E 0002 000C cmpi.w [A6 + 0xC], 0x2
00002816 6C0C bge +0xE /* 00002824 */
00002818 202C 0012 move.l D0, [A4 + 0x12]
0000281C 91AC 0016 sub.l [A4 + 0x16], D0
00002820 42AC 0012 clr.l [A4 + 0x12]
label00002824:
00002824 08D4 0004 bset.b [A4], 0x4
00002828 3B6E FFDE FCEA move.w [A5 - 0x316], [A6 - 0x22]
0000282E 70FF moveq.l D0, 0xFFFFFFFF
00002830 6002 bra +0x4 /* 00002834 */
label00002832:
00002832 7000 moveq.l D0, 0x00
label00002834:
00002834 285F movea.l A4, [A7]+
00002836 4E5E unlink A6
00002838 4E75 rts
fn0000283A:
0000283A 4E56 FEB0 link A6, -0x0150
0000283E 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00002842 2E2E 0008 move.l D7, [A6 + 0x8]
00002846 2047 movea.l A0, D7
00002848 3668 0004 movea.w A3, [A0 + 0x4]
0000284C D7F8 034E add.l A3, [0x0000034E /* FCBSPtr */]
00002850 246B 0014 movea.l A2, [A3 + 0x14]
00002854 7C00 moveq.l D6, 0x00
00002856 3D6A 004E FFC6 move.w [A6 - 0x3A], [A2 + 0x4E]
0000285C 2047 movea.l A0, D7
0000285E 0810 0000 btst.b [A0], 0x0
00002862 6768 beq +0x6A /* 000028CC */
00002864 41EE FEB0 lea.l A0, [A6 - 0x150]
00002868 2D48 FFC2 move.l [A6 - 0x3E], A0
0000286C 422E FFCA clr.b [A6 - 0x36]
00002870 0C6A 4244 0008 cmpi.w [A2 + 0x8], 0x4244 /* 'BD' */
00002876 6626 bne +0x28 /* 0000289E */
00002878 2D6B 003A FFE0 move.l [A6 - 0x20], [A3 + 0x3A]
0000287E 49EB 003E lea.l A4, [A3 + 0x3E]
00002882 7000 moveq.l D0, 0x00
00002884 1014 move.b D0, [A4]
00002886 3040 movea.w A0, D0
00002888 4868 0001 pea.l [A0 + 0x1]
0000288C 2F0C move.l -[A7], A4
0000288E 486E FEB0 pea.l [A6 - 0x150]
00002892 4EBA 067C jsr [PC + 0x67C /* 00002F10 */]
00002896 7C02 moveq.l D6, 0x02
00002898 4FEF 000C lea.l A7, [A7 + 0xC]
0000289C 602E bra +0x30 /* 000028CC */
label0000289E:
0000289E 0C6A D2D7 0008 cmpi.w [A2 + 0x8], 0xD2D7
000028A4 6626 bne +0x28 /* 000028CC */
000028A6 3D7C 0001 FFCC move.w [A6 - 0x34], 0x1
label000028AC:
000028AC 41EE FFB0 lea.l A0, [A6 - 0x50]
000028B0 A00C syscall GetFileInfo/PBHGetFInfo/HGetFileInfo
000028B2 4A40 tst.w D0
000028B4 6616 bne +0x18 /* 000028CC */
000028B6 2047 movea.l A0, D7
000028B8 302E FFC8 move.w D0, [A6 - 0x38]
000028BC B068 0004 cmp.w D0, [A0 + 0x4]
000028C0 6604 bne +0x6 /* 000028C6 */
000028C2 7C01 moveq.l D6, 0x01
000028C4 6006 bra +0x8 /* 000028CC */
label000028C6:
000028C6 526E FFCC addq.w [A6 - 0x34], 1
000028CA 60E0 bra -0x1E /* 000028AC */
label000028CC:
000028CC 2047 movea.l A0, D7
000028CE 3D68 0004 FFC8 move.w [A6 - 0x38], [A0 + 0x4]
000028D4 41EE FFB0 lea.l A0, [A6 - 0x50]
000028D8 A001 syscall Close
000028DA 4A40 tst.w D0
000028DC 6624 bne +0x26 /* 00002902 */
000028DE 0C06 0001 cmpi.b D6, 0x1
000028E2 6608 bne +0xA /* 000028EC */
000028E4 41EE FFB0 lea.l A0, [A6 - 0x50]
000028E8 A009 syscall Delete/PBHDelete/HDelete
000028EA 600C bra +0xE /* 000028F8 */
label000028EC:
000028EC 0C06 0002 cmpi.b D6, 0x2
000028F0 6606 bne +0x8 /* 000028F8 */
000028F2 41EE FFB0 lea.l A0, [A6 - 0x50]
000028F6 A209 syscall Delete/PBHDelete/HDelete, flags=2
label000028F8:
000028F8 42AE FFC2 clr.l [A6 - 0x3E]
000028FC 41EE FFB0 lea.l A0, [A6 - 0x50]
00002900 A013 syscall FlushVol
label00002902:
00002902 302E FFC0 move.w D0, [A6 - 0x40]
00002906 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
0000290A 4E5E unlink A6
0000290C 4E75 rts
fn0000290E:
0000290E 4E56 0000 link A6, 0
00002912 48E7 0718 movem.l -[A7], D5,D6,D7,A3,A4
00002916 2E2E 000C move.l D7, [A6 + 0xC]
0000291A 3C2E 0010 move.w D6, [A6 + 0x10]
0000291E 3A2E 0012 move.w D5, [A6 + 0x12]
00002922 286E 0008 movea.l A4, [A6 + 0x8]
00002926 600A bra +0xC /* 00002932 */
label00002928:
00002928 16C5 move.b [A3]+, D5
0000292A 200B move.l D0, A3
0000292C 908C sub.l D0, A4
0000292E 9E80 sub.l D7, D0
00002930 284B movea.l A4, A3
label00002932:
00002932 4A87 tst.l D7
00002934 6714 beq +0x16 /* 0000294A */
00002936 2F07 move.l -[A7], D7
00002938 3F06 move.w -[A7], D6
0000293A 2F0C move.l -[A7], A4
0000293C 4EBA 0632 jsr [PC + 0x632 /* 00002F70 */]
00002940 2640 movea.l A3, D0
00002942 200B move.l D0, A3
00002944 4FEF 000A lea.l A7, [A7 + 0xA]
00002948 66DE bne -0x20 /* 00002928 */
label0000294A:
0000294A 4CDF 18E0 movem.l D5,D6,D7,A3,A4, [A7]+
0000294E 4E5E unlink A6
00002950 4E75 rts
fn00002952:
00002952 4E56 0000 link A6, 0
00002956 48E7 0708 movem.l -[A7], D5,D6,D7,A4
0000295A 2E2E 000C move.l D7, [A6 + 0xC]
0000295E 286E 0008 movea.l A4, [A6 + 0x8]
00002962 3C2E 0010 move.w D6, [A6 + 0x10]
00002966 2A2C 0016 move.l D5, [A4 + 0x16]
0000296A 9AAC 0012 sub.l D5, [A4 + 0x12]
0000296E 4A6C 0004 tst.w [A4 + 0x4]
00002972 6E0A bgt +0xC /* 0000297E */
00002974 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
0000297A 70FF moveq.l D0, 0xFFFFFFFF
0000297C 603C bra +0x3E /* 000029BA */
label0000297E:
0000297E 2F0C move.l -[A7], A4
00002980 4EBA 04DC jsr [PC + 0x4DC /* 00002E5E */]
00002984 0C46 0001 cmpi.w D6, 0x1
00002988 588F addq.l A7, 4
0000298A 6604 bne +0x6 /* 00002990 */
0000298C DE85 add.l D7, D5
0000298E 6012 bra +0x14 /* 000029A2 */
label00002990:
00002990 0C46 0002 cmpi.w D6, 0x2
00002994 6606 bne +0x8 /* 0000299C */
00002996 DEAC 001A add.l D7, [A4 + 0x1A]
0000299A 6006 bra +0x8 /* 000029A2 */
label0000299C:
0000299C 4A46 tst.w D6
0000299E 6702 beq +0x4 /* 000029A2 */
000029A0 7EFF moveq.l D7, 0xFFFFFFFF
label000029A2:
000029A2 4A87 tst.l D7
000029A4 6C0A bge +0xC /* 000029B0 */
000029A6 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
000029AC 70FF moveq.l D0, 0xFFFFFFFF
000029AE 600A bra +0xC /* 000029BA */
label000029B0:
000029B0 2947 0016 move.l [A4 + 0x16], D7
000029B4 0894 0005 bclr.b [A4], 0x5
000029B8 7000 moveq.l D0, 0x00
label000029BA:
000029BA 4CDF 10E0 movem.l D5,D6,D7,A4, [A7]+
000029BE 4E5E unlink A6
000029C0 4E75 rts
000029C2 4E56 0000 link A6, 0
000029C6 4267 clr.w -[A7]
000029C8 206E 000C movea.l A0, [A6 + 0xC]
000029CC 2F10 move.l -[A7], [A0]
000029CE 2F2E 0008 move.l -[A7], [A6 + 0x8]
000029D2 4EBA FF7E jsr [PC - 0x82 /* 00002952 */]
000029D6 4E5E unlink A6
000029D8 4E75 rts
fn000029DA:
000029DA 4E56 0000 link A6, 0
000029DE 4267 clr.w -[A7]
000029E0 42A7 clr.l -[A7]
000029E2 2F2E 0008 move.l -[A7], [A6 + 0x8]
000029E6 4EBA FF6A jsr [PC - 0x96 /* 00002952 */]
000029EA 206E 0008 movea.l A0, [A6 + 0x8]
000029EE 0890 0004 bclr.b [A0], 0x4
000029F2 4E5E unlink A6
000029F4 4E75 rts
000029F6 4E56 0000 link A6, 0
000029FA 206E 0008 movea.l A0, [A6 + 0x8]
000029FE 4A68 0004 tst.w [A0 + 0x4]
00002A02 6E0A bgt +0xC /* 00002A0E */
00002A04 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
00002A0A 70FF moveq.l D0, 0xFFFFFFFF
00002A0C 600C bra +0xE /* 00002A1A */
label00002A0E:
00002A0E 206E 0008 movea.l A0, [A6 + 0x8]
00002A12 2028 0016 move.l D0, [A0 + 0x16]
00002A16 90A8 0012 sub.l D0, [A0 + 0x12]
label00002A1A:
00002A1A 4E5E unlink A6
00002A1C 4E75 rts
00002A1E 4E56 0000 link A6, 0
00002A22 206E 0008 movea.l A0, [A6 + 0x8]
00002A26 4A68 0004 tst.w [A0 + 0x4]
00002A2A 6E0A bgt +0xC /* 00002A36 */
00002A2C 3B7C 0013 FCEA move.w [A5 - 0x316], 0x13
00002A32 70FF moveq.l D0, 0xFFFFFFFF
00002A34 6014 bra +0x16 /* 00002A4A */
label00002A36:
00002A36 206E 0008 movea.l A0, [A6 + 0x8]
00002A3A 2028 0016 move.l D0, [A0 + 0x16]
00002A3E 90A8 0012 sub.l D0, [A0 + 0x12]
00002A42 226E 000C movea.l A1, [A6 + 0xC]
00002A46 2280 move.l [A1], D0
00002A48 7000 moveq.l D0, 0x00
label00002A4A:
00002A4A 4E5E unlink A6
00002A4C 4E75 rts
fn00002A4E:
00002A4E 4E56 0000 link A6, 0
00002A52 48E7 1F08 movem.l -[A7], D3,D4,D5,D6,D7,A4
00002A56 286E 0014 movea.l A4, [A6 + 0x14]
00002A5A 2E2E 000C move.l D7, [A6 + 0xC]
00002A5E 2C2E 0010 move.l D6, [A6 + 0x10]
00002A62 2F06 move.l -[A7], D6
00002A64 2F07 move.l -[A7], D7
00002A66 4EAD 0042 jsr [A5 + 0x42 /* export_4 */]
00002A6A 2A00 move.l D5, D0
00002A6C 4A85 tst.l D5
00002A6E 6606 bne +0x8 /* 00002A76 */
00002A70 7000 moveq.l D0, 0x00
00002A72 6000 0124 bra +0x126 /* 00002B98 */
label00002A76:
00002A76 2F0C move.l -[A7], A4
00002A78 4EBA 1A5E jsr [PC + 0x1A5E /* 000044D8 */]
00002A7C 0814 0001 btst.b [A4], 0x1
00002A80 588F addq.l A7, 4
00002A82 670C beq +0xE /* 00002A90 */
00002A84 0814 0003 btst.b [A4], 0x3
00002A88 6606 bne +0x8 /* 00002A90 */
00002A8A 296C 001A 0016 move.l [A4 + 0x16], [A4 + 0x1A]
label00002A90:
00002A90 4A6C 0004 tst.w [A4 + 0x4]
00002A94 6F66 ble +0x68 /* 00002AFC */
00002A96 0814 0006 btst.b [A4], 0x6
00002A9A 6760 beq +0x62 /* 00002AFC */
00002A9C 4AAC 0012 tst.l [A4 + 0x12]
00002AA0 665A bne +0x5C /* 00002AFC */
00002AA2 BAAC 000A cmp.l D5, [A4 + 0xA]
00002AA6 6554 bcs +0x56 /* 00002AFC */
00002AA8 7001 moveq.l D0, 0x01
00002AAA B0AC 000A cmp.l D0, [A4 + 0xA]
00002AAE 6710 beq +0x12 /* 00002AC0 */
00002AB0 2F2C 000A move.l -[A7], [A4 + 0xA]
00002AB4 2F2C 0016 move.l -[A7], [A4 + 0x16]
00002AB8 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00002ABC 4A80 tst.l D0
00002ABE 663C bne +0x3E /* 00002AFC */
label00002AC0:
00002AC0 2805 move.l D4, D5
00002AC2 7001 moveq.l D0, 0x01
00002AC4 B0AC 000A cmp.l D0, [A4 + 0xA]
00002AC8 640C bcc +0xE /* 00002AD6 */
00002ACA 2F2C 000A move.l -[A7], [A4 + 0xA]
00002ACE 2F04 move.l -[A7], D4
00002AD0 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
00002AD4 9880 sub.l D4, D0
label00002AD6:
00002AD6 296E 0008 000E move.l [A4 + 0xE], [A6 + 0x8]
00002ADC 2944 0012 move.l [A4 + 0x12], D4
00002AE0 D9AC 0016 add.l [A4 + 0x16], D4
00002AE4 2F0C move.l -[A7], A4
00002AE6 4EBA 1B80 jsr [PC + 0x1B80 /* 00004668 */]
00002AEA 3600 move.w D3, D0
00002AEC 2E8C move.l [A7], A4
00002AEE 4EBA DBFA jsr [PC - 0x2406 /* 000006EA */]
00002AF2 4A43 tst.w D3
00002AF4 588F addq.l A7, 4
00002AF6 6600 008A bne +0x8C /* 00002B82 */
00002AFA 607C bra +0x7E /* 00002B78 */
label00002AFC:
00002AFC 0814 0003 btst.b [A4], 0x3
00002B00 6706 beq +0x8 /* 00002B08 */
00002B02 4AAC 001E tst.l [A4 + 0x1E]
00002B06 673E beq +0x40 /* 00002B46 */
label00002B08:
00002B08 202C 0012 move.l D0, [A4 + 0x12]
00002B0C 53AC 0012 subq.l [A4 + 0x12], 1
00002B10 5380 subq.l D0, 1
00002B12 6316 bls +0x18 /* 00002B2A */
00002B14 206E 0008 movea.l A0, [A6 + 0x8]
00002B18 226C 000E movea.l A1, [A4 + 0xE]
00002B1C 52AC 000E addq.l [A4 + 0xE], 1
00002B20 1010 move.b D0, [A0]
00002B22 1280 move.b [A1], D0
00002B24 7200 moveq.l D1, 0x00
00002B26 1200 move.b D1, D0
00002B28 6014 bra +0x16 /* 00002B3E */
label00002B2A:
00002B2A 2F0C move.l -[A7], A4
00002B2C 206E 0008 movea.l A0, [A6 + 0x8]
00002B30 1010 move.b D0, [A0]
00002B32 4880 ext.w D0
00002B34 3F00 move.w -[A7], D0
00002B36 4EBA DA7E jsr [PC - 0x2582 /* 000005B6 */]
00002B3A 3200 move.w D1, D0
00002B3C 5C8F addq.l A7, 6
label00002B3E:
00002B3E 5241 addq.w D1, 1
00002B40 6740 beq +0x42 /* 00002B82 */
00002B42 7801 moveq.l D4, 0x01
00002B44 6032 bra +0x34 /* 00002B78 */
label00002B46:
00002B46 282C 0012 move.l D4, [A4 + 0x12]
00002B4A BA84 cmp.l D5, D4
00002B4C 6402 bcc +0x4 /* 00002B50 */
00002B4E 2805 move.l D4, D5
label00002B50:
00002B50 2F04 move.l -[A7], D4
00002B52 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002B56 2F2C 000E move.l -[A7], [A4 + 0xE]
00002B5A 4EBA 03B4 jsr [PC + 0x3B4 /* 00002F10 */]
00002B5E D9AC 000E add.l [A4 + 0xE], D4
00002B62 99AC 0012 sub.l [A4 + 0x12], D4
00002B66 4FEF 000C lea.l A7, [A7 + 0xC]
00002B6A 660C bne +0xE /* 00002B78 */
00002B6C 2F0C move.l -[A7], A4
00002B6E 4EBA DB2C jsr [PC - 0x24D4 /* 0000069C */]
00002B72 4A40 tst.w D0
00002B74 588F addq.l A7, 4
00002B76 660A bne +0xC /* 00002B82 */
label00002B78:
00002B78 D9AE 0008 add.l [A6 + 0x8], D4
00002B7C 9A84 sub.l D5, D4
00002B7E 6600 FF10 bne -0xEE /* 00002A90 */
label00002B82:
00002B82 4A85 tst.l D5
00002B84 6710 beq +0x12 /* 00002B96 */
00002B86 2F07 move.l -[A7], D7
00002B88 2005 move.l D0, D5
00002B8A D087 add.l D0, D7
00002B8C 5380 subq.l D0, 1
00002B8E 2F00 move.l -[A7], D0
00002B90 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
00002B94 9C80 sub.l D6, D0
label00002B96:
00002B96 2006 move.l D0, D6
label00002B98:
00002B98 4CDF 10F8 movem.l D3,D4,D5,D6,D7,A4, [A7]+
00002B9C 4E5E unlink A6
00002B9E 4E75 rts
fn00002BA0:
00002BA0 4E56 0000 link A6, 0
00002BA4 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00002BA8 266E 000E movea.l A3, [A6 + 0xE]
00002BAC 286E 0008 movea.l A4, [A6 + 0x8]
00002BB0 244C movea.l A2, A4
00002BB2 0C6E 0001 000C cmpi.w [A6 + 0xC], 0x1
00002BB8 6C42 bge +0x44 /* 00002BFC */
00002BBA 7000 moveq.l D0, 0x00
00002BBC 6048 bra +0x4A /* 00002C06 */
label00002BBE:
00002BBE 202B 0012 move.l D0, [A3 + 0x12]
00002BC2 53AB 0012 subq.l [A3 + 0x12], 1
00002BC6 4A80 tst.l D0
00002BC8 670E beq +0x10 /* 00002BD8 */
00002BCA 206B 000E movea.l A0, [A3 + 0xE]
00002BCE 52AB 000E addq.l [A3 + 0xE], 1
00002BD2 7000 moveq.l D0, 0x00
00002BD4 1010 move.b D0, [A0]
00002BD6 6008 bra +0xA /* 00002BE0 */
label00002BD8:
00002BD8 2F0B move.l -[A7], A3
00002BDA 4EBA D978 jsr [PC - 0x2688 /* 00000554 */]
00002BDE 588F addq.l A7, 4
label00002BE0:
00002BE0 3E00 move.w D7, D0
00002BE2 4A40 tst.w D0
00002BE4 6C0E bge +0x10 /* 00002BF4 */
00002BE6 0813 0005 btst.b [A3], 0x5
00002BEA 6704 beq +0x6 /* 00002BF0 */
00002BEC B9CA cmpa.l A4, A2
00002BEE 6612 bne +0x14 /* 00002C02 */
label00002BF0:
00002BF0 7000 moveq.l D0, 0x00
00002BF2 6012 bra +0x14 /* 00002C06 */
label00002BF4:
00002BF4 14C7 move.b [A2]+, D7
00002BF6 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002BFA 6706 beq +0x8 /* 00002C02 */
label00002BFC:
00002BFC 536E 000C subq.w [A6 + 0xC], 1
00002C00 66BC bne -0x42 /* 00002BBE */
label00002C02:
00002C02 4212 clr.b [A2]
00002C04 200C move.l D0, A4
label00002C06:
00002C06 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00002C0A 4E5E unlink A6
00002C0C 4E75 rts
00002C0E 4E56 0000 link A6, 0
00002C12 48E7 0138 movem.l -[A7], D7,A2,A3,A4
00002C16 286E 0008 movea.l A4, [A6 + 0x8]
00002C1A 47ED FD26 lea.l A3, [A5 - 0x2DA]
00002C1E 244C movea.l A2, A4
label00002C20:
00002C20 202B 0012 move.l D0, [A3 + 0x12]
00002C24 53AB 0012 subq.l [A3 + 0x12], 1
00002C28 4A80 tst.l D0
00002C2A 670E beq +0x10 /* 00002C3A */
00002C2C 206B 000E movea.l A0, [A3 + 0xE]
00002C30 52AB 000E addq.l [A3 + 0xE], 1
00002C34 7000 moveq.l D0, 0x00
00002C36 1010 move.b D0, [A0]
00002C38 6008 bra +0xA /* 00002C42 */
label00002C3A:
00002C3A 2F0B move.l -[A7], A3
00002C3C 4EBA D916 jsr [PC - 0x26EA /* 00000554 */]
00002C40 588F addq.l A7, 4
label00002C42:
00002C42 3E00 move.w D7, D0
00002C44 4A40 tst.w D0
00002C46 6C0E bge +0x10 /* 00002C56 */
00002C48 0813 0005 btst.b [A3], 0x5
00002C4C 6704 beq +0x6 /* 00002C52 */
00002C4E B9CA cmpa.l A4, A2
00002C50 660E bne +0x10 /* 00002C60 */
label00002C52:
00002C52 7000 moveq.l D0, 0x00
00002C54 600E bra +0x10 /* 00002C64 */
label00002C56:
00002C56 0C47 000A cmpi.w D7, 0xA /* '\n' */
00002C5A 6704 beq +0x6 /* 00002C60 */
00002C5C 14C7 move.b [A2]+, D7
00002C5E 60C0 bra -0x3E /* 00002C20 */
label00002C60:
00002C60 4212 clr.b [A2]
00002C62 200C move.l D0, A4
label00002C64:
00002C64 4CDF 1C80 movem.l D7,A2,A3,A4, [A7]+
00002C68 4E5E unlink A6
00002C6A 4E75 rts
fn00002C6C:
00002C6C 4E56 0000 link A6, 0
00002C70 206E 0008 movea.l A0, [A6 + 0x8]
00002C74 2028 0012 move.l D0, [A0 + 0x12]
00002C78 53A8 0012 subq.l [A0 + 0x12], 1
00002C7C 4A80 tst.l D0
00002C7E 6712 beq +0x14 /* 00002C92 */
00002C80 206E 0008 movea.l A0, [A6 + 0x8]
00002C84 2268 000E movea.l A1, [A0 + 0xE]
00002C88 52A8 000E addq.l [A0 + 0xE], 1
00002C8C 7000 moveq.l D0, 0x00
00002C8E 1011 move.b D0, [A1]
00002C90 600A bra +0xC /* 00002C9C */
label00002C92:
00002C92 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002C96 4EBA D8BC jsr [PC - 0x2744 /* 00000554 */]
00002C9A 588F addq.l A7, 4
label00002C9C:
00002C9C 4E5E unlink A6
00002C9E 4E75 rts
00002CA0 4E56 0000 link A6, 0
00002CA4 206E 0008 movea.l A0, [A6 + 0x8]
00002CA8 2028 0012 move.l D0, [A0 + 0x12]
00002CAC 53A8 0012 subq.l [A0 + 0x12], 1
00002CB0 4A80 tst.l D0
00002CB2 6712 beq +0x14 /* 00002CC6 */
00002CB4 206E 0008 movea.l A0, [A6 + 0x8]
00002CB8 2268 000E movea.l A1, [A0 + 0xE]
00002CBC 52A8 000E addq.l [A0 + 0xE], 1
00002CC0 7000 moveq.l D0, 0x00
00002CC2 1011 move.b D0, [A1]
00002CC4 600A bra +0xC /* 00002CD0 */
label00002CC6:
00002CC6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002CCA 4EBA D888 jsr [PC - 0x2778 /* 00000554 */]
00002CCE 588F addq.l A7, 4
label00002CD0:
00002CD0 4E5E unlink A6
00002CD2 4E75 rts
00002CD4 202D FD38 move.l D0, [A5 - 0x2C8]
00002CD8 53AD FD38 subq.l [A5 - 0x2C8], 1
00002CDC 4A80 tst.l D0
00002CDE 670E beq +0x10 /* 00002CEE */
00002CE0 206D FD34 movea.l A0, [A5 - 0x2CC]
00002CE4 52AD FD34 addq.l [A5 - 0x2CC], 1
00002CE8 7000 moveq.l D0, 0x00
00002CEA 1010 move.b D0, [A0]
00002CEC 600A bra +0xC /* 00002CF8 */
label00002CEE:
00002CEE 486D FD26 pea.l [A5 - 0x2DA]
00002CF2 4EBA D860 jsr [PC - 0x27A0 /* 00000554 */]
00002CF6 588F addq.l A7, 4
label00002CF8:
00002CF8 4E75 rts
fn00002CFA:
00002CFA 48E7 0108 movem.l -[A7], D7,A4
00002CFE 49ED FD98 lea.l A4, [A5 - 0x268]
00002D02 7E0C moveq.l D7, 0x0C
00002D04 600E bra +0x10 /* 00002D14 */
label00002D06:
00002D06 4A6C 0004 tst.w [A4 + 0x4]
00002D0A 6604 bne +0x6 /* 00002D10 */
00002D0C 200C move.l D0, A4
00002D0E 6014 bra +0x16 /* 00002D24 */
label00002D10:
00002D10 49EC 0026 lea.l A4, [A4 + 0x26]
label00002D14:
00002D14 3007 move.w D0, D7
00002D16 5347 subq.w D7, 1
00002D18 4A40 tst.w D0
00002D1A 66EA bne -0x14 /* 00002D06 */
00002D1C 3B7C 0018 FCEA move.w [A5 - 0x316], 0x18
00002D22 7000 moveq.l D0, 0x00
label00002D24:
00002D24 4CDF 1080 movem.l D7,A4, [A7]+
00002D28 4E75 rts
00002D2A 4E56 0000 link A6, 0
00002D2E 486E 0010 pea.l [A6 + 0x10]
00002D32 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D36 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D3A 4EBA 026A jsr [PC + 0x26A /* 00002FA6 */]
00002D3E 4E5E unlink A6
00002D40 4E75 rts
00002D42 4E56 0000 link A6, 0
00002D46 486E 000C pea.l [A6 + 0xC]
00002D4A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D4E 4EBA 0006 jsr [PC + 0x6 /* 00002D56 */]
00002D52 4E5E unlink A6
00002D54 4E75 rts
fn00002D56:
00002D56 4E56 0000 link A6, 0
00002D5A 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D5E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D62 486D FD4C pea.l [A5 - 0x2B4]
00002D66 4EBA 023E jsr [PC + 0x23E /* 00002FA6 */]
00002D6A 4E5E unlink A6
00002D6C 4E75 rts
00002D6E 4E56 0000 link A6, 0
00002D72 486E 0010 pea.l [A6 + 0x10]
00002D76 2F2E 000C move.l -[A7], [A6 + 0xC]
00002D7A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D7E 4EBA 0C22 jsr [PC + 0xC22 /* 000039A2 */]
00002D82 4E5E unlink A6
00002D84 4E75 rts
00002D86 4E56 0000 link A6, 0
00002D8A 486E 000C pea.l [A6 + 0xC]
00002D8E 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002D92 4EBA 0006 jsr [PC + 0x6 /* 00002D9A */]
00002D96 4E5E unlink A6
00002D98 4E75 rts
fn00002D9A:
00002D9A 4E56 0000 link A6, 0
00002D9E 2F2E 000C move.l -[A7], [A6 + 0xC]
00002DA2 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002DA6 486D FD26 pea.l [A5 - 0x2DA]
00002DAA 4EBA 0BF6 jsr [PC + 0xBF6 /* 000039A2 */]
00002DAE 4E5E unlink A6
00002DB0 4E75 rts
fn00002DB2:
00002DB2 4E56 0000 link A6, 0
00002DB6 4878 0200 push.l 0x200
00002DBA 4AAE 000C tst.l [A6 + 0xC]
00002DBE 6704 beq +0x6 /* 00002DC4 */
00002DC0 7000 moveq.l D0, 0x00
00002DC2 6002 bra +0x4 /* 00002DC6 */
label00002DC4:
00002DC4 7002 moveq.l D0, 0x02
label00002DC6:
00002DC6 3F00 move.w -[A7], D0
00002DC8 2F2E 000C move.l -[A7], [A6 + 0xC]
00002DCC 2F2E 0008 move.l -[A7], [A6 + 0x8]
00002DD0 4EBA 0006 jsr [PC + 0x6 /* 00002DD8 */]
00002DD4 4E5E unlink A6
00002DD6 4E75 rts
fn00002DD8:
00002DD8 4E56 0000 link A6, 0
00002DDC 48E7 0318 movem.l -[A7], D6,D7,A3,A4
00002DE0 2E2E 0012 move.l D7, [A6 + 0x12]
00002DE4 286E 0008 movea.l A4, [A6 + 0x8]
00002DE8 266E 000C movea.l A3, [A6 + 0xC]
00002DEC 7C00 moveq.l D6, 0x00
00002DEE 2F0C move.l -[A7], A4
00002DF0 4EBA 16E6 jsr [PC + 0x16E6 /* 000044D8 */]
00002DF4 302E 0010 move.w D0, [A6 + 0x10]
00002DF8 588F addq.l A7, 4
00002DFA 6B28 bmi +0x2A /* 00002E24 */
00002DFC 5540 subq.w D0, 2
00002DFE 6704 beq +0x6 /* 00002E04 */
00002E00 6A22 bpl +0x24 /* 00002E24 */
00002E02 6008 bra +0xA /* 00002E0C */
label00002E04:
00002E04 47EC 0002 lea.l A3, [A4 + 0x2]
00002E08 7E01 moveq.l D7, 0x01
00002E0A 601C bra +0x1E /* 00002E28 */
label00002E0C:
00002E0C 4A87 tst.l D7
00002E0E 6714 beq +0x16 /* 00002E24 */
00002E10 200B move.l D0, A3
00002E12 6614 bne +0x16 /* 00002E28 */
00002E14 7C01 moveq.l D6, 0x01
00002E16 2F07 move.l -[A7], D7
00002E18 4EBA D1E6 jsr [PC - 0x2E1A /* 00000000 */]
00002E1C 2640 movea.l A3, D0
00002E1E 200B move.l D0, A3
00002E20 588F addq.l A7, 4
00002E22 6604 bne +0x6 /* 00002E28 */
label00002E24:
00002E24 70FF moveq.l D0, 0xFFFFFFFF
00002E26 602C bra +0x2E /* 00002E54 */
label00002E28:
00002E28 0814 0002 btst.b [A4], 0x2
00002E2C 670E beq +0x10 /* 00002E3C */
00002E2E 2F2C 0006 move.l -[A7], [A4 + 0x6]
00002E32 4EBA D3B4 jsr [PC - 0x2C4C /* 000001E8 */]
00002E36 0894 0002 bclr.b [A4], 0x2
00002E3A 588F addq.l A7, 4
label00002E3C:
00002E3C 4A46 tst.w D6
00002E3E 6704 beq +0x6 /* 00002E44 */
00002E40 08D4 0002 bset.b [A4], 0x2
label00002E44:
00002E44 294B 0006 move.l [A4 + 0x6], A3
00002E48 2947 000A move.l [A4 + 0xA], D7
00002E4C 2F0C move.l -[A7], A4
00002E4E 4EBA D89A jsr [PC - 0x2766 /* 000006EA */]
00002E52 7000 moveq.l D0, 0x00
label00002E54:
00002E54 4CEE 18C0 FFF0 movem.l D6,D7,A3,A4, [A6 - 0x10]
00002E5A 4E5E unlink A6
00002E5C 4E75 rts
fn00002E5E:
00002E5E 4E56 0000 link A6, 0
00002E62 48E7 0308 movem.l -[A7], D6,D7,A4
00002E66 286E 0008 movea.l A4, [A6 + 0x8]
00002E6A 200C move.l D0, A4
00002E6C 670E beq +0x10 /* 00002E7C */
00002E6E 2F0C move.l -[A7], A4
00002E70 4EBA 1666 jsr [PC + 0x1666 /* 000044D8 */]
00002E74 2E8C move.l [A7], A4
00002E76 4EBA D824 jsr [PC - 0x27DC /* 0000069C */]
00002E7A 602C bra +0x2E /* 00002EA8 */
label00002E7C:
00002E7C 7E00 moveq.l D7, 0x00
00002E7E 49ED FD26 lea.l A4, [A5 - 0x2DA]
00002E82 7C0F moveq.l D6, 0x0F
00002E84 6018 bra +0x1A /* 00002E9E */
label00002E86:
00002E86 0814 0003 btst.b [A4], 0x3
00002E8A 670E beq +0x10 /* 00002E9A */
00002E8C 2F0C move.l -[A7], A4
00002E8E 4EBA D80C jsr [PC - 0x27F4 /* 0000069C */]
00002E92 4A40 tst.w D0
00002E94 588F addq.l A7, 4
00002E96 6702 beq +0x4 /* 00002E9A */
00002E98 7EFF moveq.l D7, 0xFFFFFFFF
label00002E9A:
00002E9A 49EC 0026 lea.l A4, [A4 + 0x26]
label00002E9E:
00002E9E 3006 move.w D0, D6
00002EA0 5346 subq.w D6, 1
00002EA2 4A40 tst.w D0
00002EA4 66E0 bne -0x1E /* 00002E86 */
00002EA6 3007 move.w D0, D7
label00002EA8:
00002EA8 4CEE 10C0 FFF4 movem.l D6,D7,A4, [A6 - 0xC]
00002EAE 4E5E unlink A6
00002EB0 4E75 rts
fn00002EB2:
00002EB2 4E56 0000 link A6, 0
00002EB6 48E7 0108 movem.l -[A7], D7,A4
00002EBA 286E 0008 movea.l A4, [A6 + 0x8]
00002EBE 7E00 moveq.l D7, 0x00
00002EC0 0894 0007 bclr.b [A4], 0x7
00002EC4 4A6C 0004 tst.w [A4 + 0x4]
00002EC8 673C beq +0x3E /* 00002F06 */
00002ECA 2F0C move.l -[A7], A4
00002ECC 4EBA D7CE jsr [PC - 0x2832 /* 0000069C */]
00002ED0 4A40 tst.w D0
00002ED2 588F addq.l A7, 4
00002ED4 6702 beq +0x4 /* 00002ED8 */
00002ED6 7EFF moveq.l D7, 0xFFFFFFFF
label00002ED8:
00002ED8 2F0C move.l -[A7], A4
00002EDA 4EBA 17A6 jsr [PC + 0x17A6 /* 00004682 */]
00002EDE 4A40 tst.w D0
00002EE0 588F addq.l A7, 4
00002EE2 6702 beq +0x4 /* 00002EE6 */
00002EE4 7EFF moveq.l D7, 0xFFFFFFFF
label00002EE6:
00002EE6 0814 0002 btst.b [A4], 0x2
00002EEA 670A beq +0xC /* 00002EF6 */
00002EEC 2F2C 0006 move.l -[A7], [A4 + 0x6]
00002EF0 4EBA D2F6 jsr [PC - 0x2D0A /* 000001E8 */]
00002EF4 588F addq.l A7, 4
label00002EF6:
00002EF6 4878 0026 push.l 0x26 /* '&' */
00002EFA 4267 clr.w -[A7]
00002EFC 2F0C move.l -[A7], A4
00002EFE 4EBA 008E jsr [PC + 0x8E /* 00002F8E */]
00002F02 4FEF 000A lea.l A7, [A7 + 0xA]
label00002F06:
00002F06 3007 move.w D0, D7
00002F08 4CDF 1080 movem.l D7,A4, [A7]+
00002F0C 4E5E unlink A6
00002F0E 4E75 rts
fn00002F10:
00002F10 202F 0004 move.l D0, [A7 + 0x4]
00002F14 2040 movea.l A0, D0
00002F16 226F 0008 movea.l A1, [A7 + 0x8]
00002F1A 222F 000C move.l D1, [A7 + 0xC]
00002F1E 6004 bra +0x6 /* 00002F24 */
label00002F20:
00002F20 10D9 move.b [A0]+, [A1]+
00002F22 5381 subq.l D1, 1
label00002F24:
00002F24 66FA bne -0x4 /* 00002F20 */
00002F26 4E75 rts
fn00002F28:
00002F28 202F 0004 move.l D0, [A7 + 0x4]
00002F2C 2040 movea.l A0, D0
00002F2E 226F 0008 movea.l A1, [A7 + 0x8]
00002F32 222F 000C move.l D1, [A7 + 0xC]
00002F36 6716 beq +0x18 /* 00002F4E */
00002F38 B3C8 cmpa.l A1, A0
00002F3A 620C bhi +0xE /* 00002F48 */
00002F3C D1C1 add.l A0, D1
00002F3E D3C1 add.l A1, D1
label00002F40:
00002F40 1121 move.b -[A0], -[A1]
00002F42 5381 subq.l D1, 1
00002F44 66FA bne -0x4 /* 00002F40 */
00002F46 4E75 rts
label00002F48:
00002F48 10D9 move.b [A0]+, [A1]+
00002F4A 5381 subq.l D1, 1
00002F4C 66FA bne -0x4 /* 00002F48 */
label00002F4E:
00002F4E 4E75 rts
00002F50 7000 moveq.l D0, 0x00
00002F52 206F 0004 movea.l A0, [A7 + 0x4]
00002F56 226F 0008 movea.l A1, [A7 + 0x8]
00002F5A 222F 000C move.l D1, [A7 + 0xC]
00002F5E 6002 bra +0x4 /* 00002F62 */
label00002F60:
00002F60 5381 subq.l D1, 1
label00002F62:
00002F62 670A beq +0xC /* 00002F6E */
00002F64 B308 cmpm.b [A1]+, [A0]+
00002F66 67F8 beq -0x6 /* 00002F60 */
00002F68 6502 bcs +0x4 /* 00002F6C */
00002F6A 5580 subq.l D0, 2
label00002F6C:
00002F6C 5280 addq.l D0, 1
label00002F6E:
00002F6E 4E75 rts
fn00002F70:
00002F70 7001 moveq.l D0, 0x01
00002F72 206F 0004 movea.l A0, [A7 + 0x4]
00002F76 122F 0009 move.b D1, [A7 + 0x9]
00002F7A 242F 000A move.l D2, [A7 + 0xA]
00002F7E 6002 bra +0x4 /* 00002F82 */
label00002F80:
00002F80 5382 subq.l D2, 1
label00002F82:
00002F82 6706 beq +0x8 /* 00002F8A */
00002F84 B218 cmp.b D1, [A0]+
00002F86 66F8 bne -0x6 /* 00002F80 */
00002F88 2008 move.l D0, A0
label00002F8A:
00002F8A 5380 subq.l D0, 1
00002F8C 4E75 rts
fn00002F8E:
00002F8E 202F 0004 move.l D0, [A7 + 0x4]
00002F92 2040 movea.l A0, D0
00002F94 122F 0009 move.b D1, [A7 + 0x9]
00002F98 242F 000A move.l D2, [A7 + 0xA]
00002F9C 6004 bra +0x6 /* 00002FA2 */
label00002F9E:
00002F9E 10C1 move.b [A0]+, D1
00002FA0 5382 subq.l D2, 1
label00002FA2:
00002FA2 66FA bne -0x4 /* 00002F9E */
00002FA4 4E75 rts
fn00002FA6:
00002FA6 4E56 FDC4 link A6, -0x023C
00002FAA 48E7 1F38 movem.l -[A7], D3,D4,D5,D6,D7,A2,A3,A4
00002FAE 286E 0008 movea.l A4, [A6 + 0x8]
00002FB2 266E 000C movea.l A3, [A6 + 0xC]
00002FB6 7800 moveq.l D4, 0x00
00002FB8 1E13 move.b D7, [A3]
00002FBA 4887 ext.w D7
00002FBC 6000 08A8 bra +0x8AA /* 00003866 */
label00002FC0:
00002FC0 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00002FC4 6600 07B8 bne +0x7BA /* 0000377E */
00002FC8 2D6D FF60 FDE4 move.l [A6 - 0x21C], [A5 - 0xA0]
00002FCE 2D6D FF64 FDE8 move.l [A6 - 0x218], [A5 - 0x9C]
label00002FD4:
00002FD4 528B addq.l A3, 1
00002FD6 1E13 move.b D7, [A3]
00002FD8 4887 ext.w D7
00002FDA 0C47 002D cmpi.w D7, 0x2D /* '-' */
00002FDE 6608 bne +0xA /* 00002FE8 */
00002FE0 08EE 0007 FDE4 bset.b [A6 - 0x21C], 0x7
00002FE6 60EC bra -0x12 /* 00002FD4 */
label00002FE8:
00002FE8 0C47 002B cmpi.w D7, 0x2B /* '+' */
00002FEC 6608 bne +0xA /* 00002FF6 */
00002FEE 08EE 0006 FDE4 bset.b [A6 - 0x21C], 0x6
00002FF4 60DE bra -0x20 /* 00002FD4 */
label00002FF6:
00002FF6 0C47 0020 cmpi.w D7, 0x20 /* ' ' */
00002FFA 6608 bne +0xA /* 00003004 */
00002FFC 1D7C 0020 FDE6 move.b [A6 - 0x21A], 0x20 /* ' ' */
00003002 60D0 bra -0x2E /* 00002FD4 */
label00003004:
00003004 0C47 0023 cmpi.w D7, 0x23 /* '#' */
00003008 6608 bne +0xA /* 00003012 */
0000300A 08EE 0005 FDE4 bset.b [A6 - 0x21C], 0x5
00003010 60C2 bra -0x3C /* 00002FD4 */
label00003012:
00003012 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003016 6608 bne +0xA /* 00003020 */
00003018 08EE 0004 FDE4 bset.b [A6 - 0x21C], 0x4
0000301E 60B4 bra -0x4A /* 00002FD4 */
label00003020:
00003020 0C47 002A cmpi.w D7, 0x2A /* '*' */
00003024 6640 bne +0x42 /* 00003066 */
00003026 206E 0010 movea.l A0, [A6 + 0x10]
0000302A 54AE 0010 addq.l [A6 + 0x10], 2
0000302E 3010 move.w D0, [A0]
00003030 3D40 FDE8 move.w [A6 - 0x218], D0
00003034 4A40 tst.w D0
00003036 6C10 bge +0x12 /* 00003048 */
00003038 08EE 0007 FDE4 bset.b [A6 - 0x21C], 0x7
0000303E 302E FDE8 move.w D0, [A6 - 0x218]
00003042 4440 neg.w D0
00003044 3D40 FDE8 move.w [A6 - 0x218], D0
label00003048:
00003048 528B addq.l A3, 1
0000304A 1E13 move.b D7, [A3]
0000304C 4887 ext.w D7
0000304E 6022 bra +0x24 /* 00003072 */
label00003050:
00003050 700A moveq.l D0, 0x0A
00003052 C1EE FDE8 muls.w D0, [A6 - 0x218]
00003056 0640 FFD0 addi.w D0, 0xFFD0
0000305A D047 add.w D0, D7
0000305C 3D40 FDE8 move.w [A6 - 0x218], D0
00003060 528B addq.l A3, 1
00003062 1E13 move.b D7, [A3]
00003064 4887 ext.w D7
label00003066:
00003066 0C47 0030 cmpi.w D7, 0x30 /* '0' */
0000306A 6D06 blt +0x8 /* 00003072 */
0000306C 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003070 6FDE ble -0x20 /* 00003050 */
label00003072:
00003072 0C47 002E cmpi.w D7, 0x2E /* '.' */
00003076 664E bne +0x50 /* 000030C6 */
00003078 528B addq.l A3, 1
0000307A 1E13 move.b D7, [A3]
0000307C 4887 ext.w D7
0000307E 0C47 002A cmpi.w D7, 0x2A /* '*' */
00003082 662A bne +0x2C /* 000030AE */
00003084 206E 0010 movea.l A0, [A6 + 0x10]
00003088 54AE 0010 addq.l [A6 + 0x10], 2
0000308C 3D50 FDEA move.w [A6 - 0x216], [A0]
00003090 528B addq.l A3, 1
00003092 1E13 move.b D7, [A3]
00003094 4887 ext.w D7
00003096 6022 bra +0x24 /* 000030BA */
label00003098:
00003098 700A moveq.l D0, 0x0A
0000309A C1EE FDEA muls.w D0, [A6 - 0x216]
0000309E 0640 FFD0 addi.w D0, 0xFFD0
000030A2 D047 add.w D0, D7
000030A4 3D40 FDEA move.w [A6 - 0x216], D0
000030A8 528B addq.l A3, 1
000030AA 1E13 move.b D7, [A3]
000030AC 4887 ext.w D7
label000030AE:
000030AE 0C47 0030 cmpi.w D7, 0x30 /* '0' */
000030B2 6D06 blt +0x8 /* 000030BA */
000030B4 0C47 0039 cmpi.w D7, 0x39 /* '9' */
000030B8 6FDE ble -0x20 /* 00003098 */
label000030BA:
000030BA 4A6E FDEA tst.w [A6 - 0x216]
000030BE 6D06 blt +0x8 /* 000030C6 */
000030C0 08EE 0003 FDE4 bset.b [A6 - 0x21C], 0x3
label000030C6:
000030C6 45EE FFF4 lea.l A2, [A6 - 0xC]
000030CA 4A2E FDE4 tst.b [A6 - 0x21C]
000030CE 6A06 bpl +0x8 /* 000030D6 */
000030D0 08AE 0004 FDE4 bclr.b [A6 - 0x21C], 0x4
label000030D6:
000030D6 3007 move.w D0, D7
000030D8 0440 0045 subi.w D0, 0x45 /* 'E' */
000030DC 0C40 0033 cmpi.w D0, 0x33 /* '3' */
000030E0 6200 0694 bhi +0x696 /* 00003776 */
000030E4 43FA 0790 lea.l A1, [PC + 0x790 /* 00003876, value 0xFBAEFF00 */]
000030E8 D040 add.w D0, D0
000030EA D2F1 0000 add.w A1, [A1 + D0.w]
000030EE 4ED1 jmp [A1]
000030F0 08EE 0002 FDE4 bset.b [A6 - 0x21C], 0x2
000030F6 528B addq.l A3, 1
000030F8 1E13 move.b D7, [A3]
000030FA 4887 ext.w D7
000030FC 60D8 bra -0x26 /* 000030D6 */
000030FE 08EE 0001 FDE4 bset.b [A6 - 0x21C], 0x1
00003104 528B addq.l A3, 1
00003106 1E13 move.b D7, [A3]
00003108 4887 ext.w D7
0000310A 60CA bra -0x34 /* 000030D6 */
0000310C 08EE 0000 FDE4 bset.b [A6 - 0x21C], 0x0
00003112 528B addq.l A3, 1
00003114 1E13 move.b D7, [A3]
00003116 4887 ext.w D7
00003118 60BC bra -0x42 /* 000030D6 */
0000311A 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003120 670C beq +0xE /* 0000312E */
00003122 206E 0010 movea.l A0, [A6 + 0x10]
00003126 58AE 0010 addq.l [A6 + 0x10], 4
0000312A 2610 move.l D3, [A0]
0000312C 600C bra +0xE /* 0000313A */
label0000312E:
0000312E 206E 0010 movea.l A0, [A6 + 0x10]
00003132 54AE 0010 addq.l [A6 + 0x10], 2
00003136 3610 move.w D3, [A0]
00003138 48C3 ext.l D3
label0000313A:
0000313A 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003140 6702 beq +0x4 /* 00003144 */
00003142 48C3 ext.l D3
label00003144:
00003144 4A83 tst.l D3
00003146 6C0A bge +0xC /* 00003152 */
00003148 4483 neg.l D3
0000314A 1D7C 002D FDE6 move.b [A6 - 0x21A], 0x2D /* '-' */
00003150 6042 bra +0x44 /* 00003194 */
label00003152:
00003152 082E 0006 FDE4 btst.b [A6 - 0x21C], 0x6
00003158 673A beq +0x3C /* 00003194 */
0000315A 1D7C 002B FDE6 move.b [A6 - 0x21A], 0x2B /* '+' */
00003160 6032 bra +0x34 /* 00003194 */
00003162 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003168 670C beq +0xE /* 00003176 */
0000316A 206E 0010 movea.l A0, [A6 + 0x10]
0000316E 58AE 0010 addq.l [A6 + 0x10], 4
00003172 2610 move.l D3, [A0]
00003174 600C bra +0xE /* 00003182 */
label00003176:
00003176 206E 0010 movea.l A0, [A6 + 0x10]
0000317A 54AE 0010 addq.l [A6 + 0x10], 2
0000317E 7600 moveq.l D3, 0x00
00003180 3610 move.w D3, [A0]
label00003182:
00003182 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003188 6706 beq +0x8 /* 00003190 */
0000318A 7000 moveq.l D0, 0x00
0000318C 3003 move.w D0, D3
0000318E 2600 move.l D3, D0
label00003190:
00003190 422E FDE6 clr.b [A6 - 0x21A]
label00003194:
00003194 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
0000319A 6626 bne +0x28 /* 000031C2 */
0000319C 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
000031A2 6710 beq +0x12 /* 000031B4 */
000031A4 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
000031AA 4A2E FDE6 tst.b [A6 - 0x21A]
000031AE 6704 beq +0x6 /* 000031B4 */
000031B0 536E FDEA subq.w [A6 - 0x216], 1
label000031B4:
000031B4 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
000031BA 6C06 bge +0x8 /* 000031C2 */
000031BC 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label000031C2:
000031C2 7C00 moveq.l D6, 0x00
000031C4 6020 bra +0x22 /* 000031E6 */
label000031C6:
000031C6 4878 000A push.l 0xA /* '\n' */
000031CA 2F03 move.l -[A7], D3
000031CC 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000031D0 0600 0030 addi.b D0, 0x30 /* '0' */
000031D4 538A subq.l A2, 1
000031D6 1480 move.b [A2], D0
000031D8 4878 000A push.l 0xA /* '\n' */
000031DC 2F03 move.l -[A7], D3
000031DE 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
000031E2 2600 move.l D3, D0
000031E4 5246 addq.w D6, 1
label000031E6:
000031E6 4A83 tst.l D3
000031E8 66DC bne -0x22 /* 000031C6 */
000031EA 6008 bra +0xA /* 000031F4 */
label000031EC:
000031EC 538A subq.l A2, 1
000031EE 14BC 0030 move.b [A2], 0x30 /* '0' */
000031F2 5246 addq.w D6, 1
label000031F4:
000031F4 BC6E FDEA cmp.w D6, [A6 - 0x216]
000031F8 6DF2 blt -0xC /* 000031EC */
000031FA 4A2E FDE6 tst.b [A6 - 0x21A]
000031FE 6700 05B4 beq +0x5B6 /* 000037B4 */
00003202 538A subq.l A2, 1
00003204 14AE FDE6 move.b [A2], [A6 - 0x21A]
00003208 5246 addq.w D6, 1
0000320A 6000 05A8 bra +0x5AA /* 000037B4 */
0000320E 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003214 670C beq +0xE /* 00003222 */
00003216 206E 0010 movea.l A0, [A6 + 0x10]
0000321A 58AE 0010 addq.l [A6 + 0x10], 4
0000321E 2610 move.l D3, [A0]
00003220 600C bra +0xE /* 0000322E */
label00003222:
00003222 206E 0010 movea.l A0, [A6 + 0x10]
00003226 54AE 0010 addq.l [A6 + 0x10], 2
0000322A 7600 moveq.l D3, 0x00
0000322C 3610 move.w D3, [A0]
label0000322E:
0000322E 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003234 6706 beq +0x8 /* 0000323C */
00003236 7000 moveq.l D0, 0x00
00003238 3003 move.w D0, D3
0000323A 2600 move.l D3, D0
label0000323C:
0000323C 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003242 661C bne +0x1E /* 00003260 */
00003244 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
0000324A 6706 beq +0x8 /* 00003252 */
0000324C 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
label00003252:
00003252 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
00003258 6C06 bge +0x8 /* 00003260 */
0000325A 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label00003260:
00003260 7C00 moveq.l D6, 0x00
00003262 6010 bra +0x12 /* 00003274 */
label00003264:
00003264 7007 moveq.l D0, 0x07
00003266 C083 and.l D0, D3
00003268 0600 0030 addi.b D0, 0x30 /* '0' */
0000326C 538A subq.l A2, 1
0000326E 1480 move.b [A2], D0
00003270 E68B lsr D3, 3
00003272 5246 addq.w D6, 1
label00003274:
00003274 4A83 tst.l D3
00003276 66EC bne -0x12 /* 00003264 */
00003278 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
0000327E 671C beq +0x1E /* 0000329C */
00003280 4A46 tst.w D6
00003282 6718 beq +0x1A /* 0000329C */
00003284 0C12 0030 cmpi.b [A2], 0x30 /* '0' */
00003288 6712 beq +0x14 /* 0000329C */
0000328A 538A subq.l A2, 1
0000328C 14BC 0030 move.b [A2], 0x30 /* '0' */
00003290 5246 addq.w D6, 1
00003292 6008 bra +0xA /* 0000329C */
label00003294:
00003294 538A subq.l A2, 1
00003296 14BC 0030 move.b [A2], 0x30 /* '0' */
0000329A 5246 addq.w D6, 1
label0000329C:
0000329C BC6E FDEA cmp.w D6, [A6 - 0x216]
000032A0 6DF2 blt -0xC /* 00003294 */
000032A2 6000 0510 bra +0x512 /* 000037B4 */
000032A6 08EE 0001 FDE4 bset.b [A6 - 0x21C], 0x1
000032AC 08EE 0003 FDE4 bset.b [A6 - 0x21C], 0x3
000032B2 3D7C 0008 FDEA move.w [A6 - 0x216], 0x8
000032B8 41ED FF68 lea.l A0, [A5 - 0x98]
000032BC 2D48 FDF0 move.l [A6 - 0x210], A0
000032C0 6008 bra +0xA /* 000032CA */
000032C2 41ED FF7A lea.l A0, [A5 - 0x86]
000032C6 2D48 FDF0 move.l [A6 - 0x210], A0
label000032CA:
000032CA 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
000032D0 670C beq +0xE /* 000032DE */
000032D2 206E 0010 movea.l A0, [A6 + 0x10]
000032D6 58AE 0010 addq.l [A6 + 0x10], 4
000032DA 2610 move.l D3, [A0]
000032DC 600C bra +0xE /* 000032EA */
label000032DE:
000032DE 206E 0010 movea.l A0, [A6 + 0x10]
000032E2 54AE 0010 addq.l [A6 + 0x10], 2
000032E6 7600 moveq.l D3, 0x00
000032E8 3610 move.w D3, [A0]
label000032EA:
000032EA 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
000032F0 6706 beq +0x8 /* 000032F8 */
000032F2 7000 moveq.l D0, 0x00
000032F4 3003 move.w D0, D3
000032F6 2600 move.l D3, D0
label000032F8:
000032F8 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000032FE 6628 bne +0x2A /* 00003328 */
00003300 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
00003306 6712 beq +0x14 /* 0000331A */
00003308 3D6E FDE8 FDEA move.w [A6 - 0x216], [A6 - 0x218]
0000330E 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003314 6704 beq +0x6 /* 0000331A */
00003316 556E FDEA subq.w [A6 - 0x216], 2
label0000331A:
0000331A 0C6E 0001 FDEA cmpi.w [A6 - 0x216], 0x1
00003320 6C06 bge +0x8 /* 00003328 */
00003322 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label00003328:
00003328 7C00 moveq.l D6, 0x00
0000332A 6012 bra +0x14 /* 0000333E */
label0000332C:
0000332C 700F moveq.l D0, 0x0F
0000332E C083 and.l D0, D3
00003330 D0AE FDF0 add.l D0, [A6 - 0x210]
00003334 2040 movea.l A0, D0
00003336 538A subq.l A2, 1
00003338 1490 move.b [A2], [A0]
0000333A E88B lsr D3, 4
0000333C 5246 addq.w D6, 1
label0000333E:
0000333E 4A83 tst.l D3
00003340 66EA bne -0x14 /* 0000332C */
00003342 6008 bra +0xA /* 0000334C */
label00003344:
00003344 538A subq.l A2, 1
00003346 14BC 0030 move.b [A2], 0x30 /* '0' */
0000334A 5246 addq.w D6, 1
label0000334C:
0000334C BC6E FDEA cmp.w D6, [A6 - 0x216]
00003350 6DF2 blt -0xC /* 00003344 */
00003352 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003358 6700 045A beq +0x45C /* 000037B4 */
0000335C 538A subq.l A2, 1
0000335E 1487 move.b [A2], D7
00003360 538A subq.l A2, 1
00003362 14BC 0030 move.b [A2], 0x30 /* '0' */
00003366 5446 addq.w D6, 2
00003368 6000 044A bra +0x44C /* 000037B4 */
0000336C 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
00003372 6718 beq +0x1A /* 0000338C */
00003374 206E 0010 movea.l A0, [A6 + 0x10]
00003378 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003380 43EE FFF4 lea.l A1, [A6 - 0xC]
00003384 22D8 move.l [A1]+, [A0]+
00003386 22D8 move.l [A1]+, [A0]+
00003388 22D8 move.l [A1]+, [A0]+
0000338A 6016 bra +0x18 /* 000033A2 */
label0000338C:
0000338C 206E 0010 movea.l A0, [A6 + 0x10]
00003390 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003398 43EE FFF4 lea.l A1, [A6 - 0xC]
0000339C 22D8 move.l [A1]+, [A0]+
0000339E 22D8 move.l [A1]+, [A0]+
000033A0 22D8 move.l [A1]+, [A0]+
label000033A2:
000033A2 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000033A8 6606 bne +0x8 /* 000033B0 */
000033AA 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
label000033B0:
000033B0 2F2E FFFC move.l -[A7], [A6 - 0x4]
000033B4 2F2E FFF8 move.l -[A7], [A6 - 0x8]
000033B8 2F2E FFF4 move.l -[A7], [A6 - 0xC]
000033BC 486E FDC4 pea.l [A6 - 0x23C]
000033C0 3F2E FDEA move.w -[A7], [A6 - 0x216]
000033C4 3F3C 0001 move.w -[A7], 0x1
000033C8 4EBA 0514 jsr [PC + 0x514 /* 000038DE */]
000033CC 102E FDC8 move.b D0, [A6 - 0x238]
000033D0 4880 ext.w D0
000033D2 D06E FDC6 add.w D0, [A6 - 0x23A]
000033D6 3D40 FDE0 move.w [A6 - 0x220], D0
000033DA 302E FDE0 move.w D0, [A6 - 0x220]
000033DE 3D40 FDDE move.w [A6 - 0x222], D0
000033E2 5340 subq.w D0, 1
000033E4 4FEF 0014 lea.l A7, [A7 + 0x14]
000033E8 6F06 ble +0x8 /* 000033F0 */
000033EA 3D7C 0001 FDDE move.w [A6 - 0x222], 0x1
label000033F0:
000033F0 302E FDE0 move.w D0, [A6 - 0x220]
000033F4 D06E FDEA add.w D0, [A6 - 0x216]
000033F8 3D40 FDE2 move.w [A6 - 0x21E], D0
000033FC 302E FDE2 move.w D0, [A6 - 0x21E]
00003400 906E FDDE sub.w D0, [A6 - 0x222]
00003404 0C40 01FC cmpi.w D0, 0x1FC
00003408 6F00 018C ble +0x18E /* 00003596 */
0000340C 4878 0007 push.l 0x7
00003410 486D FF8C pea.l [A5 - 0x74]
00003414 486E FDC8 pea.l [A6 - 0x238]
00003418 4EBA FAF6 jsr [PC - 0x50A /* 00002F10 */]
0000341C 4FEF 000C lea.l A7, [A7 + 0xC]
00003420 6000 0174 bra +0x176 /* 00003596 */
00003424 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
0000342A 6718 beq +0x1A /* 00003444 */
0000342C 206E 0010 movea.l A0, [A6 + 0x10]
00003430 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003438 43EE FFF4 lea.l A1, [A6 - 0xC]
0000343C 22D8 move.l [A1]+, [A0]+
0000343E 22D8 move.l [A1]+, [A0]+
00003440 22D8 move.l [A1]+, [A0]+
00003442 6016 bra +0x18 /* 0000345A */
label00003444:
00003444 206E 0010 movea.l A0, [A6 + 0x10]
00003448 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
00003450 43EE FFF4 lea.l A1, [A6 - 0xC]
00003454 22D8 move.l [A1]+, [A0]+
00003456 22D8 move.l [A1]+, [A0]+
00003458 22D8 move.l [A1]+, [A0]+
label0000345A:
0000345A 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003460 6606 bne +0x8 /* 00003468 */
00003462 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
label00003468:
00003468 1D47 FDE7 move.b [A6 - 0x219], D7
0000346C 2F2E FFFC move.l -[A7], [A6 - 0x4]
00003470 2F2E FFF8 move.l -[A7], [A6 - 0x8]
00003474 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003478 486E FDC4 pea.l [A6 - 0x23C]
0000347C 7001 moveq.l D0, 0x01
0000347E D06E FDEA add.w D0, [A6 - 0x216]
00003482 3D40 FDE2 move.w [A6 - 0x21E], D0
00003486 3F00 move.w -[A7], D0
00003488 4267 clr.w -[A7]
0000348A 4EBA 0452 jsr [PC + 0x452 /* 000038DE */]
0000348E 7001 moveq.l D0, 0x01
00003490 3D40 FDE0 move.w [A6 - 0x220], D0
00003494 3D40 FDDE move.w [A6 - 0x222], D0
00003498 102E FDC8 move.b D0, [A6 - 0x238]
0000349C 4880 ext.w D0
0000349E 5340 subq.w D0, 1
000034A0 D16E FDC6 add.w [A6 - 0x23A], D0
000034A4 4FEF 0014 lea.l A7, [A7 + 0x14]
000034A8 6000 00EC bra +0xEE /* 00003596 */
000034AC 082E 0000 FDE4 btst.b [A6 - 0x21C], 0x0
000034B2 6718 beq +0x1A /* 000034CC */
000034B4 206E 0010 movea.l A0, [A6 + 0x10]
000034B8 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
000034C0 43EE FFF4 lea.l A1, [A6 - 0xC]
000034C4 22D8 move.l [A1]+, [A0]+
000034C6 22D8 move.l [A1]+, [A0]+
000034C8 22D8 move.l [A1]+, [A0]+
000034CA 6016 bra +0x18 /* 000034E2 */
label000034CC:
000034CC 206E 0010 movea.l A0, [A6 + 0x10]
000034D0 06AE 0000 000C 0010 addi.l [A6 + 0x10], 0xC
000034D8 43EE FFF4 lea.l A1, [A6 - 0xC]
000034DC 22D8 move.l [A1]+, [A0]+
000034DE 22D8 move.l [A1]+, [A0]+
000034E0 22D8 move.l [A1]+, [A0]+
label000034E2:
000034E2 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000034E8 6608 bne +0xA /* 000034F2 */
000034EA 3D7C 0006 FDEA move.w [A6 - 0x216], 0x6
000034F0 600C bra +0xE /* 000034FE */
label000034F2:
000034F2 4A6E FDEA tst.w [A6 - 0x216]
000034F6 6606 bne +0x8 /* 000034FE */
000034F8 3D7C 0001 FDEA move.w [A6 - 0x216], 0x1
label000034FE:
000034FE 70FE moveq.l D0, 0xFFFFFFFE
00003500 D007 add.b D0, D7
00003502 1D40 FDE7 move.b [A6 - 0x219], D0
00003506 2F2E FFFC move.l -[A7], [A6 - 0x4]
0000350A 2F2E FFF8 move.l -[A7], [A6 - 0x8]
0000350E 2F2E FFF4 move.l -[A7], [A6 - 0xC]
00003512 486E FDC4 pea.l [A6 - 0x23C]
00003516 302E FDEA move.w D0, [A6 - 0x216]
0000351A 3D40 FDE2 move.w [A6 - 0x21E], D0
0000351E 3F00 move.w -[A7], D0
00003520 4267 clr.w -[A7]
00003522 4EBA 03BA jsr [PC + 0x3BA /* 000038DE */]
00003526 7001 moveq.l D0, 0x01
00003528 3D40 FDE0 move.w [A6 - 0x220], D0
0000352C 3D40 FDDE move.w [A6 - 0x222], D0
00003530 102E FDC8 move.b D0, [A6 - 0x238]
00003534 4880 ext.w D0
00003536 5340 subq.w D0, 1
00003538 D16E FDC6 add.w [A6 - 0x23A], D0
0000353C 0C6E FFFC FDC6 cmpi.w [A6 - 0x23A], 0xFFFC
00003542 4FEF 0014 lea.l A7, [A7 + 0x14]
00003546 6D24 blt +0x26 /* 0000356C */
00003548 302E FDC6 move.w D0, [A6 - 0x23A]
0000354C B06E FDEA cmp.w D0, [A6 - 0x216]
00003550 6C1A bge +0x1C /* 0000356C */
00003552 422E FDE7 clr.b [A6 - 0x219]
00003556 302E FDC6 move.w D0, [A6 - 0x23A]
0000355A D16E FDE0 add.w [A6 - 0x220], D0
0000355E 0C6E 0001 FDE0 cmpi.w [A6 - 0x220], 0x1
00003564 6C06 bge +0x8 /* 0000356C */
00003566 3D6E FDE0 FDDE move.w [A6 - 0x222], [A6 - 0x220]
label0000356C:
0000356C 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003572 6622 bne +0x24 /* 00003596 */
00003574 102E FDC8 move.b D0, [A6 - 0x238]
00003578 4880 ext.w D0
0000357A B06E FDE2 cmp.w D0, [A6 - 0x21E]
0000357E 6C16 bge +0x18 /* 00003596 */
00003580 102E FDC8 move.b D0, [A6 - 0x238]
00003584 4880 ext.w D0
00003586 3D40 FDE2 move.w [A6 - 0x21E], D0
0000358A B06E FDE0 cmp.w D0, [A6 - 0x220]
0000358E 6C06 bge +0x8 /* 00003596 */
00003590 3D6E FDE0 FDE2 move.w [A6 - 0x21E], [A6 - 0x220]
label00003596:
00003596 0C2E 0039 FDC9 cmpi.b [A6 - 0x237], 0x39 /* '9' */
0000359C 6F18 ble +0x1A /* 000035B6 */
0000359E 422E FDE7 clr.b [A6 - 0x219]
000035A2 426E FDE0 clr.w [A6 - 0x220]
000035A6 3D7C 0001 FDDE move.w [A6 - 0x222], 0x1
000035AC 102E FDC8 move.b D0, [A6 - 0x238]
000035B0 4880 ext.w D0
000035B2 3D40 FDE2 move.w [A6 - 0x21E], D0
label000035B6:
000035B6 7C00 moveq.l D6, 0x00
000035B8 4A2E FDE7 tst.b [A6 - 0x219]
000035BC 6764 beq +0x66 /* 00003622 */
000035BE 4A6E FDC6 tst.w [A6 - 0x23A]
000035C2 6C08 bge +0xA /* 000035CC */
000035C4 302E FDC6 move.w D0, [A6 - 0x23A]
000035C8 4440 neg.w D0
000035CA 6004 bra +0x6 /* 000035D0 */
label000035CC:
000035CC 302E FDC6 move.w D0, [A6 - 0x23A]
label000035D0:
000035D0 48C0 ext.l D0
000035D2 2600 move.l D3, D0
000035D4 6020 bra +0x22 /* 000035F6 */
label000035D6:
000035D6 4878 000A push.l 0xA /* '\n' */
000035DA 2F03 move.l -[A7], D3
000035DC 4EAD 0052 jsr [A5 + 0x52 /* export_6 */]
000035E0 0600 0030 addi.b D0, 0x30 /* '0' */
000035E4 538A subq.l A2, 1
000035E6 1480 move.b [A2], D0
000035E8 4878 000A push.l 0xA /* '\n' */
000035EC 2F03 move.l -[A7], D3
000035EE 4EAD 004A jsr [A5 + 0x4A /* export_5 */]
000035F2 2600 move.l D3, D0
000035F4 5246 addq.w D6, 1
label000035F6:
000035F6 4A83 tst.l D3
000035F8 66DC bne -0x22 /* 000035D6 */
000035FA 6008 bra +0xA /* 00003604 */
label000035FC:
000035FC 538A subq.l A2, 1
000035FE 14BC 0030 move.b [A2], 0x30 /* '0' */
00003602 5246 addq.w D6, 1
label00003604:
00003604 0C46 0002 cmpi.w D6, 0x2
00003608 6DF2 blt -0xC /* 000035FC */
0000360A 4A6E FDC6 tst.w [A6 - 0x23A]
0000360E 6C04 bge +0x6 /* 00003614 */
00003610 702D moveq.l D0, 0x2D
00003612 6002 bra +0x4 /* 00003616 */
label00003614:
00003614 702B moveq.l D0, 0x2B
label00003616:
00003616 538A subq.l A2, 1
00003618 1480 move.b [A2], D0
0000361A 538A subq.l A2, 1
0000361C 14AE FDE7 move.b [A2], [A6 - 0x219]
00003620 5446 addq.w D6, 2
label00003622:
00003622 3A2E FDE2 move.w D5, [A6 - 0x21E]
00003626 BA6E FDE0 cmp.w D5, [A6 - 0x220]
0000362A 660C bne +0xE /* 00003638 */
0000362C 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
00003632 6604 bne +0x6 /* 00003638 */
00003634 526E FDE0 addq.w [A6 - 0x220], 1
label00003638:
00003638 BA6E FDE0 cmp.w D5, [A6 - 0x220]
0000363C 6608 bne +0xA /* 00003646 */
0000363E 538A subq.l A2, 1
00003640 14BC 002E move.b [A2], 0x2E /* '.' */
00003644 5246 addq.w D6, 1
label00003646:
00003646 4A45 tst.w D5
00003648 6F16 ble +0x18 /* 00003660 */
0000364A 102E FDC8 move.b D0, [A6 - 0x238]
0000364E 4880 ext.w D0
00003650 B045 cmp.w D0, D5
00003652 6D0C blt +0xE /* 00003660 */
00003654 204E movea.l A0, A6
00003656 D0C5 add.w A0, D5
00003658 1028 FDC8 move.b D0, [A0 - 0x238]
0000365C 4880 ext.w D0
0000365E 6002 bra +0x4 /* 00003662 */
label00003660:
00003660 7030 moveq.l D0, 0x30
label00003662:
00003662 538A subq.l A2, 1
00003664 1480 move.b [A2], D0
00003666 5345 subq.w D5, 1
00003668 BA6E FDDE cmp.w D5, [A6 - 0x222]
0000366C 6CCA bge -0x34 /* 00003638 */
0000366E 302E FDE2 move.w D0, [A6 - 0x21E]
00003672 9045 sub.w D0, D5
00003674 DC40 add.w D6, D0
00003676 4A2E FDC4 tst.b [A6 - 0x23C]
0000367A 6708 beq +0xA /* 00003684 */
0000367C 1D7C 002D FDE6 move.b [A6 - 0x21A], 0x2D /* '-' */
00003682 600E bra +0x10 /* 00003692 */
label00003684:
00003684 082E 0006 FDE4 btst.b [A6 - 0x21C], 0x6
0000368A 6706 beq +0x8 /* 00003692 */
0000368C 1D7C 002B FDE6 move.b [A6 - 0x21A], 0x2B /* '+' */
label00003692:
00003692 082E 0004 FDE4 btst.b [A6 - 0x21C], 0x4
00003698 671A beq +0x1C /* 000036B4 */
0000369A 3A2E FDE8 move.w D5, [A6 - 0x218]
0000369E 4A2E FDE6 tst.b [A6 - 0x21A]
000036A2 670C beq +0xE /* 000036B0 */
000036A4 5345 subq.w D5, 1
000036A6 6008 bra +0xA /* 000036B0 */
label000036A8:
000036A8 538A subq.l A2, 1
000036AA 14BC 0030 move.b [A2], 0x30 /* '0' */
000036AE 5246 addq.w D6, 1
label000036B0:
000036B0 BA46 cmp.w D5, D6
000036B2 6EF4 bgt -0xA /* 000036A8 */
label000036B4:
000036B4 4A2E FDE6 tst.b [A6 - 0x21A]
000036B8 6700 00FA beq +0xFC /* 000037B4 */
000036BC 538A subq.l A2, 1
000036BE 14AE FDE6 move.b [A2], [A6 - 0x21A]
000036C2 5246 addq.w D6, 1
000036C4 6000 00EE bra +0xF0 /* 000037B4 */
000036C8 206E 0010 movea.l A0, [A6 + 0x10]
000036CC 54AE 0010 addq.l [A6 + 0x10], 2
000036D0 538A subq.l A2, 1
000036D2 14A8 0001 move.b [A2], [A0 + 0x1]
000036D6 7C01 moveq.l D6, 0x01
000036D8 6000 00DA bra +0xDC /* 000037B4 */
000036DC 206E 0010 movea.l A0, [A6 + 0x10]
000036E0 58AE 0010 addq.l [A6 + 0x10], 4
000036E4 2450 movea.l A2, [A0]
000036E6 082E 0005 FDE4 btst.b [A6 - 0x21C], 0x5
000036EC 671E beq +0x20 /* 0000370C */
000036EE 7C00 moveq.l D6, 0x00
000036F0 1C1A move.b D6, [A2]+
000036F2 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
000036F8 6700 00BA beq +0xBC /* 000037B4 */
000036FC BC6E FDEA cmp.w D6, [A6 - 0x216]
00003700 6F00 00B2 ble +0xB4 /* 000037B4 */
00003704 3C2E FDEA move.w D6, [A6 - 0x216]
00003708 6000 00AA bra +0xAC /* 000037B4 */
label0000370C:
0000370C 082E 0003 FDE4 btst.b [A6 - 0x21C], 0x3
00003712 660E bne +0x10 /* 00003722 */
00003714 2F0A move.l -[A7], A2
00003716 4EBA 10A4 jsr [PC + 0x10A4 /* 000047BC */]
0000371A 3C00 move.w D6, D0
0000371C 588F addq.l A7, 4
0000371E 6000 0094 bra +0x96 /* 000037B4 */
label00003722:
00003722 306E FDEA movea.w A0, [A6 - 0x216]
00003726 2F08 move.l -[A7], A0
00003728 4267 clr.w -[A7]
0000372A 2F0A move.l -[A7], A2
0000372C 4EBA F842 jsr [PC - 0x7BE /* 00002F70 */]
00003730 2D40 FDEC move.l [A6 - 0x214], D0
00003734 4FEF 000A lea.l A7, [A7 + 0xA]
00003738 6708 beq +0xA /* 00003742 */
0000373A 2C2E FDEC move.l D6, [A6 - 0x214]
0000373E 9C8A sub.l D6, A2
00003740 6072 bra +0x74 /* 000037B4 */
label00003742:
00003742 3C2E FDEA move.w D6, [A6 - 0x216]
00003746 606C bra +0x6E /* 000037B4 */
00003748 206E 0010 movea.l A0, [A6 + 0x10]
0000374C 58AE 0010 addq.l [A6 + 0x10], 4
00003750 2450 movea.l A2, [A0]
00003752 082E 0002 FDE4 btst.b [A6 - 0x21C], 0x2
00003758 6706 beq +0x8 /* 00003760 */
0000375A 3484 move.w [A2], D4
0000375C 6000 0102 bra +0x104 /* 00003860 */
label00003760:
00003760 082E 0001 FDE4 btst.b [A6 - 0x21C], 0x1
00003766 6708 beq +0xA /* 00003770 */
00003768 3044 movea.w A0, D4
0000376A 2488 move.l [A2], A0
0000376C 6000 00F2 bra +0xF4 /* 00003860 */
label00003770:
00003770 3484 move.w [A2], D4
00003772 6000 00EC bra +0xEE /* 00003860 */
label00003776:
00003776 0C47 0025 cmpi.w D7, 0x25 /* '%' */
0000377A 6600 00F0 bne +0xF2 /* 0000386C */
label0000377E:
0000377E 202C 0012 move.l D0, [A4 + 0x12]
00003782 53AC 0012 subq.l [A4 + 0x12], 1
00003786 5380 subq.l D0, 1
00003788 6310 bls +0x12 /* 0000379A */
0000378A 206C 000E movea.l A0, [A4 + 0xE]
0000378E 52AC 000E addq.l [A4 + 0xE], 1
00003792 1087 move.b [A0], D7
00003794 7000 moveq.l D0, 0x00
00003796 1007 move.b D0, D7
00003798 600A bra +0xC /* 000037A4 */
label0000379A:
0000379A 2F0C move.l -[A7], A4
0000379C 3F07 move.w -[A7], D7
0000379E 4EBA CE16 jsr [PC - 0x31EA /* 000005B6 */]
000037A2 5C8F addq.l A7, 6
label000037A4:
000037A4 4A40 tst.w D0
000037A6 6C06 bge +0x8 /* 000037AE */
000037A8 70FF moveq.l D0, 0xFFFFFFFF
000037AA 6000 00C2 bra +0xC4 /* 0000386E */
label000037AE:
000037AE 5244 addq.w D4, 1
000037B0 6000 00AE bra +0xB0 /* 00003860 */
label000037B4:
000037B4 BC6E FDE8 cmp.w D6, [A6 - 0x218]
000037B8 6C46 bge +0x48 /* 00003800 */
000037BA 4A2E FDE4 tst.b [A6 - 0x21C]
000037BE 6B40 bmi +0x42 /* 00003800 */
label000037C0:
000037C0 202C 0012 move.l D0, [A4 + 0x12]
000037C4 53AC 0012 subq.l [A4 + 0x12], 1
000037C8 5380 subq.l D0, 1
000037CA 6312 bls +0x14 /* 000037DE */
000037CC 206C 000E movea.l A0, [A4 + 0xE]
000037D0 52AC 000E addq.l [A4 + 0xE], 1
000037D4 7020 moveq.l D0, 0x20
000037D6 1080 move.b [A0], D0
000037D8 7200 moveq.l D1, 0x00
000037DA 1200 move.b D1, D0
000037DC 600E bra +0x10 /* 000037EC */
label000037DE:
000037DE 2F0C move.l -[A7], A4
000037E0 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
000037E4 4EBA CDD0 jsr [PC - 0x3230 /* 000005B6 */]
000037E8 3200 move.w D1, D0
000037EA 5C8F addq.l A7, 6
label000037EC:
000037EC 4A41 tst.w D1
000037EE 6C04 bge +0x6 /* 000037F4 */
000037F0 70FF moveq.l D0, 0xFFFFFFFF
000037F2 607A bra +0x7C /* 0000386E */
label000037F4:
000037F4 5244 addq.w D4, 1
000037F6 536E FDE8 subq.w [A6 - 0x218], 1
000037FA BC6E FDE8 cmp.w D6, [A6 - 0x218]
000037FE 6DC0 blt -0x3E /* 000037C0 */
label00003800:
00003800 2F0C move.l -[A7], A4
00003802 3046 movea.w A0, D6
00003804 2F08 move.l -[A7], A0
00003806 4878 0001 push.l 0x1
0000380A 2F0A move.l -[A7], A2
0000380C 4EBA F240 jsr [PC - 0xDC0 /* 00002A4E */]
00003810 3046 movea.w A0, D6
00003812 B1C0 cmpa.l A0, D0
00003814 4FEF 0010 lea.l A7, [A7 + 0x10]
00003818 6704 beq +0x6 /* 0000381E */
0000381A 70FF moveq.l D0, 0xFFFFFFFF
0000381C 6050 bra +0x52 /* 0000386E */
label0000381E:
0000381E D846 add.w D4, D6
00003820 6038 bra +0x3A /* 0000385A */
label00003822:
00003822 202C 0012 move.l D0, [A4 + 0x12]
00003826 53AC 0012 subq.l [A4 + 0x12], 1
0000382A 5380 subq.l D0, 1
0000382C 6312 bls +0x14 /* 00003840 */
0000382E 206C 000E movea.l A0, [A4 + 0xE]
00003832 52AC 000E addq.l [A4 + 0xE], 1
00003836 7020 moveq.l D0, 0x20
00003838 1080 move.b [A0], D0
0000383A 7200 moveq.l D1, 0x00
0000383C 1200 move.b D1, D0
0000383E 600E bra +0x10 /* 0000384E */
label00003840:
00003840 2F0C move.l -[A7], A4
00003842 3F3C 0020 move.w -[A7], 0x20 /* ' ' */
00003846 4EBA CD6E jsr [PC - 0x3292 /* 000005B6 */]
0000384A 3200 move.w D1, D0
0000384C 5C8F addq.l A7, 6
label0000384E:
0000384E 4A41 tst.w D1
00003850 6C04 bge +0x6 /* 00003856 */
00003852 70FF moveq.l D0, 0xFFFFFFFF
00003854 6018 bra +0x1A /* 0000386E */
label00003856:
00003856 5244 addq.w D4, 1
00003858 5246 addq.w D6, 1
label0000385A:
0000385A BC6E FDE8 cmp.w D6, [A6 - 0x218]
0000385E 6DC2 blt -0x3C /* 00003822 */
label00003860:
00003860 528B addq.l A3, 1
00003862 1E13 move.b D7, [A3]
00003864 4887 ext.w D7
label00003866:
00003866 4A47 tst.w D7
00003868 6600 F756 bne -0x8A8 /* 00002FC0 */
label0000386C:
0000386C 3004 move.w D0, D4
label0000386E:
0000386E 4CDF 1CF8 movem.l D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
00003872 4E5E unlink A6
00003874 4E75 rts
00003876 FBAE .extension 0xBAE // unimplemented
00003878 FF00 .extension 0xF00 // unimplemented
0000387A FC36 .extension 0xC36 // unimplemented
0000387C FF00 .extension 0xF00 // unimplemented
0000387E FF00 .extension 0xF00 // unimplemented
00003880 FF00 .extension 0xF00 // unimplemented
00003882 FF00 .extension 0xF00 // unimplemented
00003884 F896 .extension 0x896 // unimplemented
00003886 FF00 .extension 0xF00 // unimplemented
00003888 FF00 .extension 0xF00 // unimplemented
0000388A FF00 .extension 0xF00 // unimplemented
0000388C FF00 .extension 0xF00 // unimplemented
0000388E FF00 .extension 0xF00 // unimplemented
00003890 FF00 .extension 0xF00 // unimplemented
00003892 FF00 .extension 0xF00 // unimplemented
00003894 FF00 .extension 0xF00 // unimplemented
00003896 FF00 .extension 0xF00 // unimplemented
00003898 FF00 .extension 0xF00 // unimplemented
0000389A FF00 .extension 0xF00 // unimplemented
0000389C FA42 .extension 0xA42 // unimplemented
0000389E FF00 .extension 0xF00 // unimplemented
000038A0 FF00 .extension 0xF00 // unimplemented
000038A2 FF00 .extension 0xF00 // unimplemented
000038A4 FF00 .extension 0xF00 // unimplemented
000038A6 FF00 .extension 0xF00 // unimplemented
000038A8 FF00 .extension 0xF00 // unimplemented
000038AA FF00 .extension 0xF00 // unimplemented
000038AC FF00 .extension 0xF00 // unimplemented
000038AE FF00 .extension 0xF00 // unimplemented
000038B0 FF00 .extension 0xF00 // unimplemented
000038B2 FE52 .extension 0xE52 // unimplemented
000038B4 F8A4 .extension 0x8A4 // unimplemented
000038B6 FBAE .extension 0xBAE // unimplemented
000038B8 FAF6 .extension 0xAF6 // unimplemented
000038BA FC36 .extension 0xC36 // unimplemented
000038BC F87A .extension 0x87A // unimplemented
000038BE F8A4 .extension 0x8A4 // unimplemented
000038C0 FF00 .extension 0xF00 // unimplemented
000038C2 FF00 .extension 0xF00 // unimplemented
000038C4 F888 .extension 0x888 // unimplemented
000038C6 FF00 .extension 0xF00 // unimplemented
000038C8 FED2 .extension 0xED2 // unimplemented
000038CA F998 .extension 0x998 // unimplemented
000038CC FA30 .extension 0xA30 // unimplemented
000038CE FF00 .extension 0xF00 // unimplemented
000038D0 FF00 .extension 0xF00 // unimplemented
000038D2 FE66 .extension 0xE66 // unimplemented
000038D4 FF00 .extension 0xF00 // unimplemented
000038D6 F8EC .extension 0x8EC // unimplemented
000038D8 FF00 .extension 0xF00 // unimplemented
000038DA FF00 .extension 0xF00 // unimplemented
000038DC FA4C .extension 0xA4C // unimplemented
fn000038DE:
000038DE 4E56 FFFC link A6, -0x0004
000038E2 48E7 0318 movem.l -[A7], D6,D7,A3,A4
000038E6 286E 000C movea.l A4, [A6 + 0xC]
000038EA 3E2E 000A move.w D7, [A6 + 0xA]
000038EE 47EE 0010 lea.l A3, [A6 + 0x10]
000038F2 548B addq.l A3, 2
000038F4 0C47 0014 cmpi.w D7, 0x14
000038F8 6502 bcs +0x4 /* 000038FC */
000038FA 7E13 moveq.l D7, 0x13
label000038FC:
000038FC 1D6E 0009 FFFC move.b [A6 - 0x4], [A6 + 0x9]
00003902 3D47 FFFE move.w [A6 - 0x2], D7
00003906 486E FFFC pea.l [A6 - 0x4]
0000390A 2F0B move.l -[A7], A3
0000390C 2F0C move.l -[A7], A4
0000390E 3F3C 000B move.w -[A7], 0xB
00003912 A9EB syscall Pack4/FP68K
00003914 0C2C 003F 0005 cmpi.b [A4 + 0x5], 0x3F /* '?' */
0000391A 6618 bne +0x1A /* 00003934 */
0000391C 422E FFFC clr.b [A6 - 0x4]
00003920 3D7C 0013 FFFE move.w [A6 - 0x2], 0x13
00003926 486E FFFC pea.l [A6 - 0x4]
0000392A 2F0B move.l -[A7], A3
0000392C 2F0C move.l -[A7], A4
0000392E 3F3C 000B move.w -[A7], 0xB
00003932 A9EB syscall Pack4/FP68K
label00003934:
00003934 1C2C 0004 move.b D6, [A4 + 0x4]
00003938 4886 ext.w D6
0000393A 6006 bra +0x8 /* 00003942 */
label0000393C:
0000393C 526C 0002 addq.w [A4 + 0x2], 1
00003940 5346 subq.w D6, 1
label00003942:
00003942 0C46 0001 cmpi.w D6, 0x1
00003946 6F08 ble +0xA /* 00003950 */
00003948 0C34 0030 6004 cmpi.b [A4 + D6.w + 0x4], 0x30 /* '0' */
0000394E 67EC beq -0x12 /* 0000393C */
label00003950:
00003950 1946 0004 move.b [A4 + 0x4], D6
00003954 0C2C 0030 0005 cmpi.b [A4 + 0x5], 0x30 /* '0' */
0000395A 6608 bne +0xA /* 00003964 */
0000395C 4214 clr.b [A4]
0000395E 426C 0002 clr.w [A4 + 0x2]
00003962 6036 bra +0x38 /* 0000399A */
label00003964:
00003964 0C2C 0049 0005 cmpi.b [A4 + 0x5], 0x49 /* 'I' */
0000396A 6614 bne +0x16 /* 00003980 */
0000396C 197C 0003 0004 move.b [A4 + 0x4], 0x3
00003972 197C 004E 0006 move.b [A4 + 0x6], 0x4E /* 'N' */
00003978 197C 0046 0007 move.b [A4 + 0x7], 0x46 /* 'F' */
0000397E 601A bra +0x1C /* 0000399A */
label00003980:
00003980 0C2C 004E 0005 cmpi.b [A4 + 0x5], 0x4E /* 'N' */
00003986 6612 bne +0x14 /* 0000399A */
00003988 197C 0005 0004 move.b [A4 + 0x4], 0x5
0000398E 197C 0041 0006 move.b [A4 + 0x6], 0x41 /* 'A' */
00003994 197C 004E 0007 move.b [A4 + 0x7], 0x4E /* 'N' */
label0000399A:
0000399A 4CDF 18C0 movem.l D6,D7,A3,A4, [A7]+
0000399E 4E5E unlink A6
000039A0 4E75 rts
fn000039A2:
000039A2 4E56 FFD8 link A6, -0x0028
000039A6 48E7 0F08 movem.l -[A7], D4,D5,D6,D7,A4
000039AA 426E FFFE clr.w [A6 - 0x2]
000039AE 426E FFFC clr.w [A6 - 0x4]
000039B2 426E FFFA clr.w [A6 - 0x6]
000039B6 206E 000C movea.l A0, [A6 + 0xC]
000039BA 1E10 move.b D7, [A0]
000039BC 4887 ext.w D7
000039BE 6000 087C bra +0x87E /* 0000423C */
label000039C2:
000039C2 0C47 0025 cmpi.w D7, 0x25 /* '%' */
000039C6 6600 02EA bne +0x2EC /* 00003CB2 */
000039CA 2D6D FF94 FFF0 move.l [A6 - 0x10], [A5 - 0x6C]
000039D0 52AE 000C addq.l [A6 + 0xC], 1
000039D4 206E 000C movea.l A0, [A6 + 0xC]
000039D8 1E10 move.b D7, [A0]
000039DA 4887 ext.w D7
000039DC 0C47 002A cmpi.w D7, 0x2A /* '*' */
000039E0 6612 bne +0x14 /* 000039F4 */
000039E2 08EE 0007 FFF0 bset.b [A6 - 0x10], 0x7
000039E8 52AE 000C addq.l [A6 + 0xC], 1
000039EC 206E 000C movea.l A0, [A6 + 0xC]
000039F0 1E10 move.b D7, [A0]
000039F2 4887 ext.w D7
label000039F4:
000039F4 7000 moveq.l D0, 0x00
000039F6 1007 move.b D0, D7
000039F8 204D movea.l A0, A5
000039FA D1C0 add.l A0, D0
000039FC 0828 0004 FBEA btst.b [A0 - 0x416], 0x4
00003A02 673A beq +0x3C /* 00003A3E */
00003A04 08EE 0006 FFF0 bset.b [A6 - 0x10], 0x6
label00003A0A:
00003A0A 700A moveq.l D0, 0x0A
00003A0C C1EE FFF2 muls.w D0, [A6 - 0xE]
00003A10 0640 FFD0 addi.w D0, 0xFFD0
00003A14 D047 add.w D0, D7
00003A16 3D40 FFF2 move.w [A6 - 0xE], D0
00003A1A 52AE 000C addq.l [A6 + 0xC], 1
00003A1E 206E 000C movea.l A0, [A6 + 0xC]
00003A22 1E10 move.b D7, [A0]
00003A24 4887 ext.w D7
00003A26 7000 moveq.l D0, 0x00
00003A28 1007 move.b D0, D7
00003A2A 204D movea.l A0, A5
00003A2C D1C0 add.l A0, D0
00003A2E 0828 0004 FBEA btst.b [A0 - 0x416], 0x4
00003A34 66D4 bne -0x2A /* 00003A0A */
00003A36 4A6E FFF2 tst.w [A6 - 0xE]
00003A3A 6F00 0806 ble +0x808 /* 00004242 */
label00003A3E:
00003A3E 3007 move.w D0, D7
00003A40 0440 003F subi.w D0, 0x3F /* '?' */
00003A44 0C40 0039 cmpi.w D0, 0x39 /* '9' */
00003A48 6200 0260 bhi +0x262 /* 00003CAA */
00003A4C 43FA 0810 lea.l A1, [PC + 0x810 /* 0000425E, value 0xF836FA4C */]
00003A50 D040 add.w D0, D0
00003A52 D2F1 0000 add.w A1, [A1 + D0.w]
00003A56 4ED1 jmp [A1]
00003A58 08EE 0007 FFF1 bset.b [A6 - 0xF], 0x7
00003A5E 52AE 000C addq.l [A6 + 0xC], 1
00003A62 206E 000C movea.l A0, [A6 + 0xC]
00003A66 1E10 move.b D7, [A0]
00003A68 4887 ext.w D7
00003A6A 60D2 bra -0x2C /* 00003A3E */
00003A6C 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
00003A72 52AE 000C addq.l [A6 + 0xC], 1
00003A76 206E 000C movea.l A0, [A6 + 0xC]
00003A7A 1E10 move.b D7, [A0]
00003A7C 4887 ext.w D7
00003A7E 60BE bra -0x40 /* 00003A3E */
00003A80 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
00003A86 52AE 000C addq.l [A6 + 0xC], 1
00003A8A 206E 000C movea.l A0, [A6 + 0xC]
00003A8E 1E10 move.b D7, [A0]
00003A90 4887 ext.w D7
00003A92 60AA bra -0x54 /* 00003A3E */
00003A94 08EE 0005 FFF0 bset.b [A6 - 0x10], 0x5
00003A9A 52AE 000C addq.l [A6 + 0xC], 1
00003A9E 206E 000C movea.l A0, [A6 + 0xC]
00003AA2 1E10 move.b D7, [A0]
00003AA4 4887 ext.w D7
00003AA6 6096 bra -0x68 /* 00003A3E */
00003AA8 7C0A moveq.l D6, 0x0A
00003AAA 6000 036E bra +0x370 /* 00003E1A */
00003AAE 7C00 moveq.l D6, 0x00
00003AB0 6000 0368 bra +0x36A /* 00003E1A */
00003AB4 7C08 moveq.l D6, 0x08
00003AB6 6000 035C bra +0x35E /* 00003E14 */
00003ABA 7C0A moveq.l D6, 0x0A
00003ABC 6000 0356 bra +0x358 /* 00003E14 */
00003AC0 08EE 0006 FFF1 bset.b [A6 - 0xF], 0x6
00003AC6 7C10 moveq.l D6, 0x10
00003AC8 6000 034A bra +0x34C /* 00003E14 */
00003ACC 08EE 0001 FFF0 bset.b [A6 - 0x10], 0x1
00003AD2 3D7C FFFF FFF6 move.w [A6 - 0xA], 0xFFFF
00003AD8 6000 0356 bra +0x358 /* 00003E30 */
label00003ADC:
00003ADC 206E 0008 movea.l A0, [A6 + 0x8]
00003AE0 2028 0012 move.l D0, [A0 + 0x12]
00003AE4 53A8 0012 subq.l [A0 + 0x12], 1
00003AE8 4A80 tst.l D0
00003AEA 6712 beq +0x14 /* 00003AFE */
00003AEC 206E 0008 movea.l A0, [A6 + 0x8]
00003AF0 2268 000E movea.l A1, [A0 + 0xE]
00003AF4 52A8 000E addq.l [A0 + 0xE], 1
00003AF8 7000 moveq.l D0, 0x00
00003AFA 1011 move.b D0, [A1]
00003AFC 600A bra +0xC /* 00003B08 */
label00003AFE:
00003AFE 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003B02 4EBA CA50 jsr [PC - 0x35B0 /* 00000554 */]
00003B06 588F addq.l A7, 4
label00003B08:
00003B08 3E00 move.w D7, D0
00003B0A 526E FFFA addq.w [A6 - 0x6], 1
00003B0E 7000 moveq.l D0, 0x00
00003B10 1007 move.b D0, D7
00003B12 204D movea.l A0, A5
00003B14 D1C0 add.l A0, D0
00003B16 7006 moveq.l D0, 0x06
00003B18 C028 FBEA and.b D0, [A0 - 0x416]
00003B1C 66BE bne -0x40 /* 00003ADC */
00003B1E 3F3C 0001 move.w -[A7], 0x1
00003B22 4EBA 07AE jsr [PC + 0x7AE /* 000042D2 */]
00003B26 548F addq.l A7, 2
00003B28 6000 0240 bra +0x242 /* 00003D6A */
00003B2C 52AE 000C addq.l [A6 + 0xC], 1
00003B30 206E 000C movea.l A0, [A6 + 0xC]
00003B34 1E10 move.b D7, [A0]
00003B36 4887 ext.w D7
00003B38 0C47 005E cmpi.w D7, 0x5E /* '^' */
00003B3C 6612 bne +0x14 /* 00003B50 */
00003B3E 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00003B44 52AE 000C addq.l [A6 + 0xC], 1
00003B48 206E 000C movea.l A0, [A6 + 0xC]
00003B4C 1E10 move.b D7, [A0]
00003B4E 4887 ext.w D7
label00003B50:
00003B50 4267 clr.w -[A7]
00003B52 4EBA 077E jsr [PC + 0x77E /* 000042D2 */]
00003B56 548F addq.l A7, 2
label00003B58:
00003B58 4A47 tst.w D7
00003B5A 6700 06E6 beq +0x6E8 /* 00004242 */
00003B5E 7000 moveq.l D0, 0x00
00003B60 1007 move.b D0, D7
00003B62 3F00 move.w -[A7], D0
00003B64 4EBA 07A0 jsr [PC + 0x7A0 /* 00004306 */]
00003B68 548F addq.l A7, 2
00003B6A 52AE 000C addq.l [A6 + 0xC], 1
00003B6E 206E 000C movea.l A0, [A6 + 0xC]
00003B72 1E10 move.b D7, [A0]
00003B74 4887 ext.w D7
00003B76 0C47 005D cmpi.w D7, 0x5D /* ']' */
00003B7A 6758 beq +0x5A /* 00003BD4 */
00003B7C 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003B80 66D6 bne -0x28 /* 00003B58 */
00003B82 206E 000C movea.l A0, [A6 + 0xC]
00003B86 0C28 005D 0001 cmpi.b [A0 + 0x1], 0x5D /* ']' */
00003B8C 67CA beq -0x34 /* 00003B58 */
00003B8E 206E 000C movea.l A0, [A6 + 0xC]
00003B92 1028 0001 move.b D0, [A0 + 0x1]
00003B96 4880 ext.w D0
00003B98 1220 move.b D1, -[A0]
00003B9A 1D41 FFF5 move.b [A6 - 0xB], D1
00003B9E 7400 moveq.l D2, 0x00
00003BA0 1401 move.b D2, D1
00003BA2 B440 cmp.w D2, D0
00003BA4 6EB2 bgt -0x4C /* 00003B58 */
00003BA6 52AE 000C addq.l [A6 + 0xC], 1
00003BAA 206E 000C movea.l A0, [A6 + 0xC]
00003BAE 1E10 move.b D7, [A0]
00003BB0 4887 ext.w D7
00003BB2 6014 bra +0x16 /* 00003BC8 */
label00003BB4:
00003BB4 102E FFF5 move.b D0, [A6 - 0xB]
00003BB8 522E FFF5 addq.b [A6 - 0xB], 1
00003BBC 7200 moveq.l D1, 0x00
00003BBE 1200 move.b D1, D0
00003BC0 3F01 move.w -[A7], D1
00003BC2 4EBA 0742 jsr [PC + 0x742 /* 00004306 */]
00003BC6 548F addq.l A7, 2
label00003BC8:
00003BC8 7000 moveq.l D0, 0x00
00003BCA 102E FFF5 move.b D0, [A6 - 0xB]
00003BCE BE40 cmp.w D7, D0
00003BD0 66E2 bne -0x1C /* 00003BB4 */
00003BD2 6084 bra -0x7A /* 00003B58 */
label00003BD4:
00003BD4 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
00003BDA 6704 beq +0x6 /* 00003BE0 */
00003BDC 4EBA 0748 jsr [PC + 0x748 /* 00004326 */]
label00003BE0:
00003BE0 206E 0008 movea.l A0, [A6 + 0x8]
00003BE4 2028 0012 move.l D0, [A0 + 0x12]
00003BE8 53A8 0012 subq.l [A0 + 0x12], 1
00003BEC 4A80 tst.l D0
00003BEE 6712 beq +0x14 /* 00003C02 */
00003BF0 206E 0008 movea.l A0, [A6 + 0x8]
00003BF4 2268 000E movea.l A1, [A0 + 0xE]
00003BF8 52A8 000E addq.l [A0 + 0xE], 1
00003BFC 7000 moveq.l D0, 0x00
00003BFE 1011 move.b D0, [A1]
00003C00 600A bra +0xC /* 00003C0C */
label00003C02:
00003C02 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C06 4EBA C94C jsr [PC - 0x36B4 /* 00000554 */]
00003C0A 588F addq.l A7, 4
label00003C0C:
00003C0C 3E00 move.w D7, D0
00003C0E 526E FFFA addq.w [A6 - 0x6], 1
00003C12 6000 0156 bra +0x158 /* 00003D6A */
00003C16 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003C1C 6606 bne +0x8 /* 00003C24 */
00003C1E 3D7C 0001 FFF2 move.w [A6 - 0xE], 0x1
label00003C24:
00003C24 4A2E FFF0 tst.b [A6 - 0x10]
00003C28 6B4C bmi +0x4E /* 00003C76 */
00003C2A 206E 0010 movea.l A0, [A6 + 0x10]
00003C2E 58AE 0010 addq.l [A6 + 0x10], 4
00003C32 2850 movea.l A4, [A0]
00003C34 6040 bra +0x42 /* 00003C76 */
label00003C36:
00003C36 206E 0008 movea.l A0, [A6 + 0x8]
00003C3A 2028 0012 move.l D0, [A0 + 0x12]
00003C3E 53A8 0012 subq.l [A0 + 0x12], 1
00003C42 4A80 tst.l D0
00003C44 6712 beq +0x14 /* 00003C58 */
00003C46 206E 0008 movea.l A0, [A6 + 0x8]
00003C4A 2268 000E movea.l A1, [A0 + 0xE]
00003C4E 52A8 000E addq.l [A0 + 0xE], 1
00003C52 7000 moveq.l D0, 0x00
00003C54 1011 move.b D0, [A1]
00003C56 600A bra +0xC /* 00003C62 */
label00003C58:
00003C58 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003C5C 4EBA C8F6 jsr [PC - 0x370A /* 00000554 */]
00003C60 588F addq.l A7, 4
label00003C62:
00003C62 3E00 move.w D7, D0
00003C64 5240 addq.w D0, 1
00003C66 6700 05DA beq +0x5DC /* 00004242 */
00003C6A 4A2E FFF0 tst.b [A6 - 0x10]
00003C6E 6B02 bmi +0x4 /* 00003C72 */
00003C70 18C7 move.b [A4]+, D7
label00003C72:
00003C72 526E FFFA addq.w [A6 - 0x6], 1
label00003C76:
00003C76 302E FFF2 move.w D0, [A6 - 0xE]
00003C7A 536E FFF2 subq.w [A6 - 0xE], 1
00003C7E 4A40 tst.w D0
00003C80 6EB4 bgt -0x4A /* 00003C36 */
00003C82 4A2E FFF0 tst.b [A6 - 0x10]
00003C86 6B04 bmi +0x6 /* 00003C8C */
00003C88 526E FFFE addq.w [A6 - 0x2], 1
label00003C8C:
00003C8C 526E FFFC addq.w [A6 - 0x4], 1
00003C90 6000 059E bra +0x5A0 /* 00004230 */
00003C94 382E FFFA move.w D4, [A6 - 0x6]
00003C98 48C4 ext.l D4
00003C9A 4A2E FFF0 tst.b [A6 - 0x10]
00003C9E 6B00 04FC bmi +0x4FE /* 0000419C */
00003CA2 536E FFFE subq.w [A6 - 0x2], 1
00003CA6 6000 04F4 bra +0x4F6 /* 0000419C */
label00003CAA:
00003CAA 0C47 0025 cmpi.w D7, 0x25 /* '%' */
00003CAE 6600 0592 bne +0x594 /* 00004242 */
label00003CB2:
00003CB2 7000 moveq.l D0, 0x00
00003CB4 1007 move.b D0, D7
00003CB6 204D movea.l A0, A5
00003CB8 D1C0 add.l A0, D0
00003CBA 7006 moveq.l D0, 0x06
00003CBC C028 FBEA and.b D0, [A0 - 0x416]
00003CC0 6756 beq +0x58 /* 00003D18 */
label00003CC2:
00003CC2 206E 0008 movea.l A0, [A6 + 0x8]
00003CC6 2028 0012 move.l D0, [A0 + 0x12]
00003CCA 53A8 0012 subq.l [A0 + 0x12], 1
00003CCE 4A80 tst.l D0
00003CD0 6712 beq +0x14 /* 00003CE4 */
00003CD2 206E 0008 movea.l A0, [A6 + 0x8]
00003CD6 2268 000E movea.l A1, [A0 + 0xE]
00003CDA 52A8 000E addq.l [A0 + 0xE], 1
00003CDE 7000 moveq.l D0, 0x00
00003CE0 1011 move.b D0, [A1]
00003CE2 600A bra +0xC /* 00003CEE */
label00003CE4:
00003CE4 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003CE8 4EBA C86A jsr [PC - 0x3796 /* 00000554 */]
00003CEC 588F addq.l A7, 4
label00003CEE:
00003CEE 3E00 move.w D7, D0
00003CF0 526E FFFA addq.w [A6 - 0x6], 1
00003CF4 7000 moveq.l D0, 0x00
00003CF6 1007 move.b D0, D7
00003CF8 204D movea.l A0, A5
00003CFA D1C0 add.l A0, D0
00003CFC 7006 moveq.l D0, 0x06
00003CFE C028 FBEA and.b D0, [A0 - 0x416]
00003D02 66BE bne -0x40 /* 00003CC2 */
00003D04 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D08 3F07 move.w -[A7], D7
00003D0A 4EBA 0ABE jsr [PC + 0xABE /* 000047CA */]
00003D0E 5C8F addq.l A7, 6
00003D10 536E FFFA subq.w [A6 - 0x6], 1
00003D14 6000 051A bra +0x51C /* 00004230 */
label00003D18:
00003D18 206E 0008 movea.l A0, [A6 + 0x8]
00003D1C 2028 0012 move.l D0, [A0 + 0x12]
00003D20 53A8 0012 subq.l [A0 + 0x12], 1
00003D24 4A80 tst.l D0
00003D26 6712 beq +0x14 /* 00003D3A */
00003D28 206E 0008 movea.l A0, [A6 + 0x8]
00003D2C 2268 000E movea.l A1, [A0 + 0xE]
00003D30 52A8 000E addq.l [A0 + 0xE], 1
00003D34 7000 moveq.l D0, 0x00
00003D36 1011 move.b D0, [A1]
00003D38 600A bra +0xC /* 00003D44 */
label00003D3A:
00003D3A 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D3E 4EBA C814 jsr [PC - 0x37EC /* 00000554 */]
00003D42 588F addq.l A7, 4
label00003D44:
00003D44 3E00 move.w D7, D0
00003D46 206E 000C movea.l A0, [A6 + 0xC]
00003D4A 7200 moveq.l D1, 0x00
00003D4C 1210 move.b D1, [A0]
00003D4E B240 cmp.w D1, D0
00003D50 6710 beq +0x12 /* 00003D62 */
00003D52 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003D56 3F07 move.w -[A7], D7
00003D58 4EBA 0A70 jsr [PC + 0xA70 /* 000047CA */]
00003D5C 5C8F addq.l A7, 6
00003D5E 6000 04E2 bra +0x4E4 /* 00004242 */
label00003D62:
00003D62 526E FFFA addq.w [A6 - 0x6], 1
00003D66 6000 04C8 bra +0x4CA /* 00004230 */
label00003D6A:
00003D6A 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003D70 6606 bne +0x8 /* 00003D78 */
00003D72 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00003D78:
00003D78 4A2E FFF0 tst.b [A6 - 0x10]
00003D7C 6B62 bmi +0x64 /* 00003DE0 */
00003D7E 206E 0010 movea.l A0, [A6 + 0x10]
00003D82 58AE 0010 addq.l [A6 + 0x10], 4
00003D86 2850 movea.l A4, [A0]
00003D88 6056 bra +0x58 /* 00003DE0 */
label00003D8A:
00003D8A 536E FFF2 subq.w [A6 - 0xE], 1
00003D8E 3F07 move.w -[A7], D7
00003D90 4EBA 05AA jsr [PC + 0x5AA /* 0000433C */]
00003D94 548F addq.l A7, 2
00003D96 4A40 tst.w D0
00003D98 674C beq +0x4E /* 00003DE6 */
00003D9A 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003DA0 4A2E FFF0 tst.b [A6 - 0x10]
00003DA4 6B02 bmi +0x4 /* 00003DA8 */
00003DA6 18C7 move.b [A4]+, D7
label00003DA8:
00003DA8 4A6E FFF2 tst.w [A6 - 0xE]
00003DAC 6748 beq +0x4A /* 00003DF6 */
00003DAE 206E 0008 movea.l A0, [A6 + 0x8]
00003DB2 2028 0012 move.l D0, [A0 + 0x12]
00003DB6 53A8 0012 subq.l [A0 + 0x12], 1
00003DBA 4A80 tst.l D0
00003DBC 6712 beq +0x14 /* 00003DD0 */
00003DBE 206E 0008 movea.l A0, [A6 + 0x8]
00003DC2 2268 000E movea.l A1, [A0 + 0xE]
00003DC6 52A8 000E addq.l [A0 + 0xE], 1
00003DCA 7000 moveq.l D0, 0x00
00003DCC 1011 move.b D0, [A1]
00003DCE 600A bra +0xC /* 00003DDA */
label00003DD0:
00003DD0 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003DD4 4EBA C77E jsr [PC - 0x3882 /* 00000554 */]
00003DD8 588F addq.l A7, 4
label00003DDA:
00003DDA 3E00 move.w D7, D0
00003DDC 526E FFFA addq.w [A6 - 0x6], 1
label00003DE0:
00003DE0 0C47 FFFF cmpi.w D7, 0xFFFF
00003DE4 66A4 bne -0x5A /* 00003D8A */
label00003DE6:
00003DE6 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003DEA 3F07 move.w -[A7], D7
00003DEC 4EBA 09DC jsr [PC + 0x9DC /* 000047CA */]
00003DF0 5C8F addq.l A7, 6
00003DF2 536E FFFA subq.w [A6 - 0x6], 1
label00003DF6:
00003DF6 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00003DFC 6700 0444 beq +0x446 /* 00004242 */
00003E00 4A2E FFF0 tst.b [A6 - 0x10]
00003E04 6B06 bmi +0x8 /* 00003E0C */
00003E06 4214 clr.b [A4]
00003E08 526E FFFE addq.w [A6 - 0x2], 1
label00003E0C:
00003E0C 526E FFFC addq.w [A6 - 0x4], 1
00003E10 6000 041E bra +0x420 /* 00004230 */
label00003E14:
00003E14 08EE 0002 FFF0 bset.b [A6 - 0x10], 0x2
label00003E1A:
00003E1A 082E 0005 FFF0 btst.b [A6 - 0x10], 0x5
00003E20 670A beq +0xC /* 00003E2C */
00003E22 206E 0010 movea.l A0, [A6 + 0x10]
00003E26 54AE 0010 addq.l [A6 + 0x10], 2
00003E2A 3C10 move.w D6, [A0]
label00003E2C:
00003E2C 426E FFF6 clr.w [A6 - 0xA]
label00003E30:
00003E30 7800 moveq.l D4, 0x00
label00003E32:
00003E32 206E 0008 movea.l A0, [A6 + 0x8]
00003E36 2028 0012 move.l D0, [A0 + 0x12]
00003E3A 53A8 0012 subq.l [A0 + 0x12], 1
00003E3E 4A80 tst.l D0
00003E40 6712 beq +0x14 /* 00003E54 */
00003E42 206E 0008 movea.l A0, [A6 + 0x8]
00003E46 2268 000E movea.l A1, [A0 + 0xE]
00003E4A 52A8 000E addq.l [A0 + 0xE], 1
00003E4E 7000 moveq.l D0, 0x00
00003E50 1011 move.b D0, [A1]
00003E52 600A bra +0xC /* 00003E5E */
label00003E54:
00003E54 2F2E 0008 move.l -[A7], [A6 + 0x8]
00003E58 4EBA C6FA jsr [PC - 0x3906 /* 00000554 */]
00003E5C 588F addq.l A7, 4
label00003E5E:
00003E5E 3E00 move.w D7, D0
00003E60 526E FFFA addq.w [A6 - 0x6], 1
00003E64 7000 moveq.l D0, 0x00
00003E66 1007 move.b D0, D7
00003E68 204D movea.l A0, A5
00003E6A D1C0 add.l A0, D0
00003E6C 7006 moveq.l D0, 0x06
00003E6E C028 FBEA and.b D0, [A0 - 0x416]
00003E72 66BE bne -0x40 /* 00003E32 */
00003E74 082E 0006 FFF0 btst.b [A6 - 0x10], 0x6
00003E7A 6606 bne +0x8 /* 00003E82 */
00003E7C 3D7C 7FFF FFF2 move.w [A6 - 0xE], 0x7FFF
label00003E82:
00003E82 426E FFF8 clr.w [A6 - 0x8]
00003E86 6000 01F4 bra +0x1F6 /* 0000407C */
label00003E8A:
00003E8A 536E FFF2 subq.w [A6 - 0xE], 1
00003E8E 302E FFF6 move.w D0, [A6 - 0xA]
00003E92 6720 beq +0x22 /* 00003EB4 */
00003E94 6A0E bpl +0x10 /* 00003EA4 */
00003E96 5440 addq.w D0, 2
00003E98 6700 0124 beq +0x126 /* 00003FBE */
00003E9C 6A00 00F6 bpl +0xF8 /* 00003F94 */
00003EA0 6000 01A2 bra +0x1A4 /* 00004044 */
label00003EA4:
00003EA4 5740 subq.w D0, 3
00003EA6 6700 0084 beq +0x86 /* 00003F2C */
00003EAA 6A00 0198 bpl +0x19A /* 00004044 */
00003EAE 5240 addq.w D0, 1
00003EB0 6A5C bpl +0x5E /* 00003F0E */
00003EB2 601E bra +0x20 /* 00003ED2 */
label00003EB4:
00003EB4 3D7C 0001 FFF6 move.w [A6 - 0xA], 0x1
00003EBA 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003EBE 660A bne +0xC /* 00003ECA */
00003EC0 08EE 0004 FFF0 bset.b [A6 - 0x10], 0x4
00003EC6 6000 017C bra +0x17E /* 00004044 */
label00003ECA:
00003ECA 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003ECE 6700 0174 beq +0x176 /* 00004044 */
label00003ED2:
00003ED2 3D7C 0003 FFF6 move.w [A6 - 0xA], 0x3
00003ED8 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003EDC 664E bne +0x50 /* 00003F2C */
00003EDE 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003EE4 4A6E FFF2 tst.w [A6 - 0xE]
00003EE8 6700 015A beq +0x15C /* 00004044 */
00003EEC 4A46 tst.w D6
00003EEE 660C bne +0xE /* 00003EFC */
00003EF0 7C08 moveq.l D6, 0x08
00003EF2 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
00003EF8 6000 014A bra +0x14C /* 00004044 */
label00003EFC:
00003EFC 0C46 0010 cmpi.w D6, 0x10
00003F00 6600 0142 bne +0x144 /* 00004044 */
00003F04 3D7C 0002 FFF6 move.w [A6 - 0xA], 0x2
00003F0A 6000 0138 bra +0x13A /* 00004044 */
label00003F0E:
00003F0E 3D7C 0003 FFF6 move.w [A6 - 0xA], 0x3
00003F14 0C47 0078 cmpi.w D7, 0x78 /* 'x' */
00003F18 6706 beq +0x8 /* 00003F20 */
00003F1A 0C47 0058 cmpi.w D7, 0x58 /* 'X' */
00003F1E 660C bne +0xE /* 00003F2C */
label00003F20:
00003F20 7C10 moveq.l D6, 0x10
00003F22 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00003F28 6000 011A bra +0x11C /* 00004044 */
label00003F2C:
00003F2C 3A07 move.w D5, D7
00003F2E 0C45 0030 cmpi.w D5, 0x30 /* '0' */
00003F32 6D0C blt +0xE /* 00003F40 */
00003F34 0C45 0039 cmpi.w D5, 0x39 /* '9' */
00003F38 6E06 bgt +0x8 /* 00003F40 */
00003F3A 0645 FFD0 addi.w D5, 0xFFD0
00003F3E 6026 bra +0x28 /* 00003F66 */
label00003F40:
00003F40 0C45 0041 cmpi.w D5, 0x41 /* 'A' */
00003F44 6D0C blt +0xE /* 00003F52 */
00003F46 0C45 005A cmpi.w D5, 0x5A /* 'Z' */
00003F4A 6E06 bgt +0x8 /* 00003F52 */
00003F4C 0645 FFC9 addi.w D5, 0xFFC9
00003F50 6014 bra +0x16 /* 00003F66 */
label00003F52:
00003F52 0C45 0061 cmpi.w D5, 0x61 /* 'a' */
00003F56 6D00 012C blt +0x12E /* 00004084 */
00003F5A 0C45 007A cmpi.w D5, 0x7A /* 'z' */
00003F5E 6E00 0124 bgt +0x126 /* 00004084 */
00003F62 0645 FFA9 addi.w D5, 0xFFA9
label00003F66:
00003F66 4A46 tst.w D6
00003F68 6602 bne +0x4 /* 00003F6C */
00003F6A 7C0A moveq.l D6, 0x0A
label00003F6C:
00003F6C BC45 cmp.w D6, D5
00003F6E 6F00 0114 ble +0x116 /* 00004084 */
00003F72 2004 move.l D0, D4
00003F74 4840 swap.w D0
00003F76 C0C6 mulu.w D0, D6
00003F78 4840 swap.w D0
00003F7A 4A40 tst.w D0
00003F7C 6608 bne +0xA /* 00003F86 */
00003F7E 3005 move.w D0, D5
00003F80 C8C6 mulu.w D4, D6
00003F82 D880 add.l D4, D0
00003F84 6404 bcc +0x6 /* 00003F8A */
label00003F86:
00003F86 50EE FFF8 st [A6 - 0x8]
label00003F8A:
00003F8A 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003F90 6000 00B2 bra +0xB4 /* 00004044 */
label00003F94:
00003F94 3D7C FFFE FFF6 move.w [A6 - 0xA], 0xFFFE
00003F9A 426E FFDA clr.w [A6 - 0x26]
00003F9E 422E FFDC clr.b [A6 - 0x24]
00003FA2 0C47 002D cmpi.w D7, 0x2D /* '-' */
00003FA6 660A bne +0xC /* 00003FB2 */
00003FA8 1D7C 0001 FFD8 move.b [A6 - 0x28], 0x1
00003FAE 6000 0094 bra +0x96 /* 00004044 */
label00003FB2:
00003FB2 422E FFD8 clr.b [A6 - 0x28]
00003FB6 0C47 002B cmpi.w D7, 0x2B /* '+' */
00003FBA 6700 0088 beq +0x8A /* 00004044 */
label00003FBE:
00003FBE 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003FC2 6D4A blt +0x4C /* 0000400E */
00003FC4 0C47 0039 cmpi.w D7, 0x39 /* '9' */
00003FC8 6E44 bgt +0x46 /* 0000400E */
00003FCA 08EE 0003 FFF0 bset.b [A6 - 0x10], 0x3
00003FD0 0C47 0030 cmpi.w D7, 0x30 /* '0' */
00003FD4 6606 bne +0x8 /* 00003FDC */
00003FD6 4A2E FFDC tst.b [A6 - 0x24]
00003FDA 6724 beq +0x26 /* 00004000 */
label00003FDC:
00003FDC 0C2E 0013 FFDC cmpi.b [A6 - 0x24], 0x13
00003FE2 650E bcs +0x10 /* 00003FF2 */
00003FE4 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00003FEA 6658 bne +0x5A /* 00004044 */
00003FEC 526E FFDA addq.w [A6 - 0x26], 1
00003FF0 6052 bra +0x54 /* 00004044 */
label00003FF2:
00003FF2 522E FFDC addq.b [A6 - 0x24], 1
00003FF6 102E FFDC move.b D0, [A6 - 0x24]
00003FFA 4880 ext.w D0
00003FFC 1D87 00DC move.b [A6 + D0.w - 0x36], D7
label00004000:
00004000 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
00004006 673C beq +0x3E /* 00004044 */
00004008 536E FFDA subq.w [A6 - 0x26], 1
0000400C 6036 bra +0x38 /* 00004044 */
label0000400E:
0000400E 0C47 002E cmpi.w D7, 0x2E /* '.' */
00004012 6610 bne +0x12 /* 00004024 */
00004014 082E 0000 FFF0 btst.b [A6 - 0x10], 0x0
0000401A 6608 bne +0xA /* 00004024 */
0000401C 08EE 0000 FFF0 bset.b [A6 - 0x10], 0x0
00004022 6020 bra +0x22 /* 00004044 */
label00004024:
00004024 0C47 0065 cmpi.w D7, 0x65 /* 'e' */
00004028 6706 beq +0x8 /* 00004030 */
0000402A 0C47 0045 cmpi.w D7, 0x45 /* 'E' */
0000402E 6654 bne +0x56 /* 00004084 */
label00004030:
00004030 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
00004036 674C beq +0x4E /* 00004084 */
00004038 7C0A moveq.l D6, 0x0A
0000403A 08AE 0003 FFF0 bclr.b [A6 - 0x10], 0x3
00004040 426E FFF6 clr.w [A6 - 0xA]
label00004044:
00004044 4A6E FFF2 tst.w [A6 - 0xE]
00004048 674A beq +0x4C /* 00004094 */
0000404A 206E 0008 movea.l A0, [A6 + 0x8]
0000404E 2028 0012 move.l D0, [A0 + 0x12]
00004052 53A8 0012 subq.l [A0 + 0x12], 1
00004056 4A80 tst.l D0
00004058 6712 beq +0x14 /* 0000406C */
0000405A 206E 0008 movea.l A0, [A6 + 0x8]
0000405E 2268 000E movea.l A1, [A0 + 0xE]
00004062 52A8 000E addq.l [A0 + 0xE], 1
00004066 7000 moveq.l D0, 0x00
00004068 1011 move.b D0, [A1]
0000406A 600A bra +0xC /* 00004076 */
label0000406C:
0000406C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004070 4EBA C4E2 jsr [PC - 0x3B1E /* 00000554 */]
00004074 588F addq.l A7, 4
label00004076:
00004076 3E00 move.w D7, D0
00004078 526E FFFA addq.w [A6 - 0x6], 1
label0000407C:
0000407C 0C47 FFFF cmpi.w D7, 0xFFFF
00004080 6600 FE08 bne -0x1F6 /* 00003E8A */
label00004084:
00004084 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004088 3F07 move.w -[A7], D7
0000408A 4EBA 073E jsr [PC + 0x73E /* 000047CA */]
0000408E 5C8F addq.l A7, 6
00004090 536E FFFA subq.w [A6 - 0x6], 1
label00004094:
00004094 082E 0003 FFF0 btst.b [A6 - 0x10], 0x3
0000409A 6700 01A6 beq +0x1A8 /* 00004242 */
0000409E 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
000040A4 671A beq +0x1C /* 000040C0 */
000040A6 4A84 tst.l D4
000040A8 6716 beq +0x18 /* 000040C0 */
000040AA 4484 neg.l D4
000040AC 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
000040B2 6604 bne +0x6 /* 000040B8 */
000040B4 4A84 tst.l D4
000040B6 6F1A ble +0x1C /* 000040D2 */
label000040B8:
000040B8 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
000040BE 6012 bra +0x14 /* 000040D2 */
label000040C0:
000040C0 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
000040C6 660A bne +0xC /* 000040D2 */
000040C8 4A84 tst.l D4
000040CA 6C06 bge +0x8 /* 000040D2 */
000040CC 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
label000040D2:
000040D2 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
000040D8 6714 beq +0x16 /* 000040EE */
000040DA 306E FFDA movea.w A0, [A6 - 0x26]
000040DE D888 add.l D4, A0
000040E0 6906 bvs +0x8 /* 000040E8 */
000040E2 2044 movea.l A0, D4
000040E4 B0C8 cmpa.w A0, A0
000040E6 6704 beq +0x6 /* 000040EC */
label000040E8:
000040E8 50EE FFF8 st [A6 - 0x8]
label000040EC:
000040EC 6058 bra +0x5A /* 00004146 */
label000040EE:
000040EE 4A2E FFF1 tst.b [A6 - 0xF]
000040F2 6A26 bpl +0x28 /* 0000411A */
000040F4 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
000040FA 6710 beq +0x12 /* 0000410C */
000040FC 7000 moveq.l D0, 0x00
000040FE 3004 move.w D0, D4
00004100 B880 cmp.l D4, D0
00004102 6742 beq +0x44 /* 00004146 */
00004104 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
0000410A 603A bra +0x3C /* 00004146 */
label0000410C:
0000410C 3044 movea.w A0, D4
0000410E B888 cmp.l D4, A0
00004110 6734 beq +0x36 /* 00004146 */
00004112 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
00004118 602C bra +0x2E /* 00004146 */
label0000411A:
0000411A 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004120 6624 bne +0x26 /* 00004146 */
00004122 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004128 6710 beq +0x12 /* 0000413A */
0000412A 7000 moveq.l D0, 0x00
0000412C 3004 move.w D0, D4
0000412E B880 cmp.l D4, D0
00004130 6714 beq +0x16 /* 00004146 */
00004132 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
00004138 600C bra +0xE /* 00004146 */
label0000413A:
0000413A 3044 movea.w A0, D4
0000413C B888 cmp.l D4, A0
0000413E 6706 beq +0x8 /* 00004146 */
00004140 3D7C 0001 FFF8 move.w [A6 - 0x8], 0x1
label00004146:
00004146 4A6E FFF8 tst.w [A6 - 0x8]
0000414A 6750 beq +0x52 /* 0000419C */
0000414C 082E 0002 FFF0 btst.b [A6 - 0x10], 0x2
00004152 6704 beq +0x6 /* 00004158 */
00004154 7800 moveq.l D4, 0x00
00004156 602C bra +0x2E /* 00004184 */
label00004158:
00004158 4A2E FFF1 tst.b [A6 - 0xF]
0000415C 6B08 bmi +0xA /* 00004166 */
0000415E 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004164 6708 beq +0xA /* 0000416E */
label00004166:
00004166 283C FFFF 8000 move.l D4, 0xFFFF8000
0000416C 6016 bra +0x18 /* 00004184 */
label0000416E:
0000416E 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004174 6708 beq +0xA /* 0000417E */
00004176 283C 8000 0000 move.l D4, 0x80000000
0000417C 6006 bra +0x8 /* 00004184 */
label0000417E:
0000417E 283C FFFF 8000 move.l D4, 0xFFFF8000
label00004184:
00004184 082E 0004 FFF0 btst.b [A6 - 0x10], 0x4
0000418A 6602 bne +0x4 /* 0000418E */
0000418C 4684 not.l D4
label0000418E:
0000418E 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
00004194 6606 bne +0x8 /* 0000419C */
00004196 3B7C 0022 FCEA move.w [A5 - 0x316], 0x22 /* '\"' */
label0000419C:
0000419C 4A2E FFF0 tst.b [A6 - 0x10]
000041A0 6B00 008A bmi +0x8C /* 0000422C */
000041A4 206E 0010 movea.l A0, [A6 + 0x10]
000041A8 58AE 0010 addq.l [A6 + 0x10], 4
000041AC 2850 movea.l A4, [A0]
000041AE 082E 0001 FFF0 btst.b [A6 - 0x10], 0x1
000041B4 675A beq +0x5C /* 00004210 */
000041B6 3D44 FFDA move.w [A6 - 0x26], D4
000041BA 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
000041C0 6706 beq +0x8 /* 000041C8 */
000041C2 08EE 0005 FFF1 bset.b [A6 - 0xF], 0x5
label000041C8:
000041C8 082E 0005 FFF1 btst.b [A6 - 0xF], 0x5
000041CE 6712 beq +0x14 /* 000041E2 */
000041D0 2F0C move.l -[A7], A4
000041D2 486E FFD8 pea.l [A6 - 0x28]
000041D6 4267 clr.w -[A7]
000041D8 4EBA 0186 jsr [PC + 0x186 /* 00004360 */]
000041DC 4FEF 000A lea.l A7, [A7 + 0xA]
000041E0 6046 bra +0x48 /* 00004228 */
label000041E2:
000041E2 4A2E FFF1 tst.b [A6 - 0xF]
000041E6 6A14 bpl +0x16 /* 000041FC */
000041E8 2F0C move.l -[A7], A4
000041EA 486E FFD8 pea.l [A6 - 0x28]
000041EE 3F3C 0800 move.w -[A7], 0x800
000041F2 4EBA 016C jsr [PC + 0x16C /* 00004360 */]
000041F6 4FEF 000A lea.l A7, [A7 + 0xA]
000041FA 602C bra +0x2E /* 00004228 */
label000041FC:
000041FC 2F0C move.l -[A7], A4
000041FE 486E FFD8 pea.l [A6 - 0x28]
00004202 3F3C 1000 move.w -[A7], 0x1000
00004206 4EBA 0158 jsr [PC + 0x158 /* 00004360 */]
0000420A 4FEF 000A lea.l A7, [A7 + 0xA]
0000420E 6018 bra +0x1A /* 00004228 */
label00004210:
00004210 082E 0006 FFF1 btst.b [A6 - 0xF], 0x6
00004216 6704 beq +0x6 /* 0000421C */
00004218 2884 move.l [A4], D4
0000421A 600C bra +0xE /* 00004228 */
label0000421C:
0000421C 4A2E FFF1 tst.b [A6 - 0xF]
00004220 6A04 bpl +0x6 /* 00004226 */
00004222 3884 move.w [A4], D4
00004224 6002 bra +0x4 /* 00004228 */
label00004226:
00004226 3884 move.w [A4], D4
label00004228:
00004228 526E FFFE addq.w [A6 - 0x2], 1
label0000422C:
0000422C 526E FFFC addq.w [A6 - 0x4], 1
label00004230:
00004230 52AE 000C addq.l [A6 + 0xC], 1
00004234 206E 000C movea.l A0, [A6 + 0xC]
00004238 1E10 move.b D7, [A0]
0000423A 4887 ext.w D7
label0000423C:
0000423C 4A47 tst.w D7
0000423E 6600 F782 bne -0x87C /* 000039C2 */
label00004242:
00004242 4A6E FFFC tst.w [A6 - 0x4]
00004246 660A bne +0xC /* 00004252 */
00004248 0C47 FFFF cmpi.w D7, 0xFFFF
0000424C 6604 bne +0x6 /* 00004252 */
0000424E 70FF moveq.l D0, 0xFFFFFFFF
00004250 6004 bra +0x6 /* 00004256 */
label00004252:
00004252 302E FFFE move.w D0, [A6 - 0x2]
label00004256:
00004256 4CDF 10F0 movem.l D4,D5,D6,D7,A4, [A7]+
0000425A 4E5E unlink A6
0000425C 4E75 rts
0000425E F836 .extension 0x836 // unimplemented
00004260 FA4C .extension 0xA4C // unimplemented
00004262 FA4C .extension 0xA4C // unimplemented
00004264 FA4C .extension 0xA4C // unimplemented
00004266 FA4C .extension 0xA4C // unimplemented
00004268 FA4C .extension 0xA4C // unimplemented
0000426A F86E .extension 0x86E // unimplemented
0000426C FA4C .extension 0xA4C // unimplemented
0000426E F86E .extension 0x86E // unimplemented
00004270 FA4C .extension 0xA4C // unimplemented
00004272 FA4C .extension 0xA4C // unimplemented
00004274 FA4C .extension 0xA4C // unimplemented
00004276 FA4C .extension 0xA4C // unimplemented
00004278 F822 .extension 0x822 // unimplemented
0000427A FA4C .extension 0xA4C // unimplemented
0000427C FA4C .extension 0xA4C // unimplemented
0000427E FA4C .extension 0xA4C // unimplemented
00004280 FA4C .extension 0xA4C // unimplemented
00004282 FA4C .extension 0xA4C // unimplemented
00004284 FA4C .extension 0xA4C // unimplemented
00004286 FA4C .extension 0xA4C // unimplemented
00004288 FA4C .extension 0xA4C // unimplemented
0000428A FA4C .extension 0xA4C // unimplemented
0000428C FA4C .extension 0xA4C // unimplemented
0000428E FA4C .extension 0xA4C // unimplemented
00004290 F868 .extension 0x868 // unimplemented
00004292 FA4C .extension 0xA4C // unimplemented
00004294 FA4C .extension 0xA4C // unimplemented
00004296 F8CE .extension 0x8CE // unimplemented
00004298 FA4C .extension 0xA4C // unimplemented
0000429A FA4C .extension 0xA4C // unimplemented
0000429C FA4C .extension 0xA4C // unimplemented
0000429E FA4C .extension 0xA4C // unimplemented
000042A0 FA4C .extension 0xA4C // unimplemented
000042A2 FA4C .extension 0xA4C // unimplemented
000042A4 FA4C .extension 0xA4C // unimplemented
000042A6 F9B8 .extension 0x9B8 // unimplemented
000042A8 F84A .extension 0x84A // unimplemented
000042AA F86E .extension 0x86E // unimplemented
000042AC F86E .extension 0x86E // unimplemented
000042AE F86E .extension 0x86E // unimplemented
000042B0 F7FA .extension 0x7FA // unimplemented
000042B2 F850 .extension 0x850 // unimplemented
000042B4 FA4C .extension 0xA4C // unimplemented
000042B6 FA4C .extension 0xA4C // unimplemented
000042B8 F80E .extension 0x80E // unimplemented
000042BA FA4C .extension 0xA4C // unimplemented
000042BC FA36 .extension 0xA36 // unimplemented
000042BE F856 .extension 0x856 // unimplemented
000042C0 F862 .extension 0x862 // unimplemented
000042C2 FA4C .extension 0xA4C // unimplemented
000042C4 FA4C .extension 0xA4C // unimplemented
000042C6 F87E .extension 0x87E // unimplemented
000042C8 FA4C .extension 0xA4C // unimplemented
000042CA F85C .extension 0x85C // unimplemented
000042CC FA4C .extension 0xA4C // unimplemented
000042CE FA4C .extension 0xA4C // unimplemented
000042D0 F868 .extension 0x868 // unimplemented
fn000042D2:
000042D2 4E56 0000 link A6, 0
000042D6 41ED FF98 lea.l A0, [A5 - 0x68]
000042DA 7000 moveq.l D0, 0x00
000042DC 20C0 move.l [A0]+, D0
000042DE 20C0 move.l [A0]+, D0
000042E0 20C0 move.l [A0]+, D0
000042E2 20C0 move.l [A0]+, D0
000042E4 20C0 move.l [A0]+, D0
000042E6 20C0 move.l [A0]+, D0
000042E8 20C0 move.l [A0]+, D0
000042EA 20C0 move.l [A0]+, D0
000042EC 4A6E 0008 tst.w [A6 + 0x8]
000042F0 6710 beq +0x12 /* 00004302 */
000042F2 1B7C 003E FF99 move.b [A5 - 0x67], 0x3E /* '>' */
000042F8 1B7C 0001 FF9C move.b [A5 - 0x64], 0x1
000042FE 4EBA 0026 jsr [PC + 0x26 /* 00004326 */]
label00004302:
00004302 4E5E unlink A6
00004304 4E75 rts
fn00004306:
00004306 4E56 0000 link A6, 0
0000430A 7007 moveq.l D0, 0x07
0000430C C02E 0009 and.b D0, [A6 + 0x9]
00004310 7201 moveq.l D1, 0x01
00004312 E129 lsl D1.b, D0
00004314 302E 0008 move.w D0, [A6 + 0x8]
00004318 E640 asr D0.w, 3
0000431A 204D movea.l A0, A5
0000431C D0C0 add.w A0, D0
0000431E 8328 FF98 or.b [A0 - 0x68], D1
00004322 4E5E unlink A6
00004324 4E75 rts
fn00004326:
00004326 41ED FF98 lea.l A0, [A5 - 0x68]
0000432A 4698 not.l [A0]+
0000432C 4698 not.l [A0]+
0000432E 4698 not.l [A0]+
00004330 4698 not.l [A0]+
00004332 4698 not.l [A0]+
00004334 4698 not.l [A0]+
00004336 4698 not.l [A0]+
00004338 4698 not.l [A0]+
0000433A 4E75 rts
fn0000433C:
0000433C 4E56 0000 link A6, 0
00004340 7007 moveq.l D0, 0x07
00004342 C02E 0009 and.b D0, [A6 + 0x9]
00004346 7201 moveq.l D1, 0x01
00004348 E169 lsl D1.w, D0
0000434A 302E 0008 move.w D0, [A6 + 0x8]
0000434E E640 asr D0.w, 3
00004350 204D movea.l A0, A5
00004352 D0C0 add.w A0, D0
00004354 1028 FF98 move.b D0, [A0 - 0x68]
00004358 4880 ext.w D0
0000435A C041 and.w D0, D1
0000435C 4E5E unlink A6
0000435E 4E75 rts
fn00004360:
00004360 4E56 FFFC link A6, -0x0004
00004364 48E7 0338 movem.l -[A7], D6,D7,A2,A3,A4
00004368 3E2E 0008 move.w D7, [A6 + 0x8]
0000436C 286E 000A movea.l A4, [A6 + 0xA]
00004370 266E 000E movea.l A3, [A6 + 0xE]
00004374 7C30 moveq.l D6, 0x30
00004376 244B movea.l A2, A3
00004378 4A47 tst.w D7
0000437A 6604 bne +0x6 /* 00004380 */
0000437C 47EA 0002 lea.l A3, [A2 + 0x2]
label00004380:
00004380 486E FFFE pea.l [A6 - 0x2]
00004384 3F3C 0017 move.w -[A7], 0x17
00004388 A9EB syscall Pack4/FP68K
0000438A 4A2C 0004 tst.b [A4 + 0x4]
0000438E 675E beq +0x60 /* 000043EE */
00004390 2F0C move.l -[A7], A4
00004392 2F0B move.l -[A7], A3
00004394 7009 moveq.l D0, 0x09
00004396 D047 add.w D0, D7
00004398 3F00 move.w -[A7], D0
0000439A A9EB syscall Pack4/FP68K
0000439C 486E FFFE pea.l [A6 - 0x2]
000043A0 3F3C 0003 move.w -[A7], 0x3
000043A4 A9EB syscall Pack4/FP68K
000043A6 2F0B move.l -[A7], A3
000043A8 486E FFFC pea.l [A6 - 0x4]
000043AC 701C moveq.l D0, 0x1C
000043AE D047 add.w D0, D7
000043B0 3F00 move.w -[A7], D0
000043B2 A9EB syscall Pack4/FP68K
000043B4 4A6E FFFC tst.w [A6 - 0x4]
000043B8 6C0A bge +0xC /* 000043C4 */
000043BA 302E FFFC move.w D0, [A6 - 0x4]
000043BE 4440 neg.w D0
000043C0 3D40 FFFC move.w [A6 - 0x4], D0
label000043C4:
000043C4 0C6E 0003 FFFC cmpi.w [A6 - 0x4], 0x3
000043CA 6708 beq +0xA /* 000043D4 */
000043CC 082E 0002 FFFE btst.b [A6 - 0x2], 0x2
000043D2 6704 beq +0x6 /* 000043D8 */
label000043D4:
000043D4 7C49 moveq.l D6, 0x49
000043D6 6010 bra +0x12 /* 000043E8 */
label000043D8:
000043D8 0C6E 0005 FFFC cmpi.w [A6 - 0x4], 0x5
000043DE 6608 bne +0xA /* 000043E8 */
000043E0 082E 0001 FFFE btst.b [A6 - 0x2], 0x1
000043E6 6728 beq +0x2A /* 00004410 */
label000043E8:
000043E8 3B7C 0022 FCEA move.w [A5 - 0x316], 0x22 /* '\"' */
label000043EE:
000043EE 0C46 0030 cmpi.w D6, 0x30 /* '0' */
000043F2 6602 bne +0x4 /* 000043F6 */
000043F4 4214 clr.b [A4]
label000043F6:
000043F6 426C 0002 clr.w [A4 + 0x2]
000043FA 197C 0001 0004 move.b [A4 + 0x4], 0x1
00004400 1946 0005 move.b [A4 + 0x5], D6
00004404 2F0C move.l -[A7], A4
00004406 2F0B move.l -[A7], A3
00004408 7009 moveq.l D0, 0x09
0000440A D047 add.w D0, D7
0000440C 3F00 move.w -[A7], D0
0000440E A9EB syscall Pack4/FP68K
label00004410:
00004410 4A47 tst.w D7
00004412 6604 bne +0x6 /* 00004418 */
00004414 34AA 0002 move.w [A2], [A2 + 0x2]
label00004418:
00004418 4CDF 1CC0 movem.l D6,D7,A2,A3,A4, [A7]+
0000441C 4E5E unlink A6
0000441E 4E75 rts
00004420 4E56 0000 link A6, 0
00004424 48E7 0108 movem.l -[A7], D7,A4
00004428 3E2E 0008 move.w D7, [A6 + 0x8]
0000442C 4A47 tst.w D7
0000442E 6F06 ble +0x8 /* 00004436 */
00004430 0C47 0006 cmpi.w D7, 0x6
00004434 6F0A ble +0xC /* 00004440 */
label00004436:
00004436 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
0000443C 70FF moveq.l D0, 0xFFFFFFFF
0000443E 6020 bra +0x22 /* 00004460 */
label00004440:
00004440 204D movea.l A0, A5
00004442 2007 move.l D0, D7
00004444 48C0 ext.l D0
00004446 E588 lsl D0, 2
00004448 D1C0 add.l A0, D0
0000444A 2868 FFB8 movea.l A4, [A0 - 0x48]
0000444E 204D movea.l A0, A5
00004450 2007 move.l D0, D7
00004452 48C0 ext.l D0
00004454 E588 lsl D0, 2
00004456 D1C0 add.l A0, D0
00004458 216E 000A FFB8 move.l [A0 - 0x48], [A6 + 0xA]
0000445E 200C move.l D0, A4
label00004460:
00004460 4CDF 1080 movem.l D7,A4, [A7]+
00004464 4E5E unlink A6
00004466 4E75 rts
fn00004468:
00004468 4E56 0000 link A6, 0
0000446C 48E7 0108 movem.l -[A7], D7,A4
00004470 3E2E 0008 move.w D7, [A6 + 0x8]
00004474 4A47 tst.w D7
00004476 6F06 ble +0x8 /* 0000447E */
00004478 0C47 0006 cmpi.w D7, 0x6
0000447C 6F0A ble +0xC /* 00004488 */
label0000447E:
0000447E 3B7C 0016 FCEA move.w [A5 - 0x316], 0x16
00004484 70FF moveq.l D0, 0xFFFFFFFF
00004486 6036 bra +0x38 /* 000044BE */
label00004488:
00004488 204D movea.l A0, A5
0000448A 2007 move.l D0, D7
0000448C 48C0 ext.l D0
0000448E E588 lsl D0, 2
00004490 D1C0 add.l A0, D0
00004492 2868 FFB8 movea.l A4, [A0 - 0x48]
00004496 200C move.l D0, A4
00004498 5380 subq.l D0, 1
0000449A 6720 beq +0x22 /* 000044BC */
0000449C 204D movea.l A0, A5
0000449E 2007 move.l D0, D7
000044A0 48C0 ext.l D0
000044A2 E588 lsl D0, 2
000044A4 D1C0 add.l A0, D0
000044A6 42A8 FFB8 clr.l [A0 - 0x48]
000044AA 200C move.l D0, A4
000044AC 6608 bne +0xA /* 000044B6 */
000044AE 4267 clr.w -[A7]
000044B0 4EBA BFC4 jsr [PC - 0x403C /* 00000476 */]
000044B4 548F addq.l A7, 2
label000044B6:
000044B6 3F07 move.w -[A7], D7
000044B8 4E94 jsr [A4]
000044BA 548F addq.l A7, 2
label000044BC:
000044BC 7000 moveq.l D0, 0x00
label000044BE:
000044BE 4CDF 1080 movem.l D7,A4, [A7]+
000044C2 4E5E unlink A6
000044C4 4E75 rts
000044C6 3F3C 0001 move.w -[A7], 0x1
000044CA 4EBA FF9C jsr [PC - 0x64 /* 00004468 */]
000044CE 4257 clr.w [A7]
000044D0 4EBA BFA4 jsr [PC - 0x405C /* 00000476 */]
000044D4 548F addq.l A7, 2
000044D6 4E75 rts
fn000044D8:
000044D8 4E56 0000 link A6, 0
000044DC 2F0C move.l -[A7], A4
000044DE 286E 0008 movea.l A4, [A6 + 0x8]
000044E2 4A14 tst.b [A4]
000044E4 6A04 bpl +0x6 /* 000044EA */
000044E6 4EBA C540 jsr [PC - 0x3AC0 /* 00000A28 */]
label000044EA:
000044EA 4A6C 0004 tst.w [A4 + 0x4]
000044EE 661A bne +0x1C /* 0000450A */
000044F0 41EC 0002 lea.l A0, [A4 + 0x2]
000044F4 2948 0006 move.l [A4 + 0x6], A0
000044F8 2948 000E move.l [A4 + 0xE], A0
000044FC 7001 moveq.l D0, 0x01
000044FE 2940 000A move.l [A4 + 0xA], D0
00004502 41ED 03A2 lea.l A0, [A5 + 0x3A2 /* export_112 */]
00004506 2948 0022 move.l [A4 + 0x22], A0
label0000450A:
0000450A 200C move.l D0, A4
0000450C 285F movea.l A4, [A7]+
0000450E 4E5E unlink A6
00004510 4E75 rts
fn00004512:
00004512 4E56 0000 link A6, 0
00004516 48E7 0018 movem.l -[A7], A3,A4
0000451A 286E 0008 movea.l A4, [A6 + 0x8]
0000451E 266E 000C movea.l A3, [A6 + 0xC]
00004522 204B movea.l A0, A3
00004524 50C1 st D1
label00004526:
00004526 16C0 move.b [A3]+, D0
00004528 5201 addq.b D1, 1
0000452A 101C move.b D0, [A4]+
0000452C 66F8 bne -0x6 /* 00004526 */
0000452E 1081 move.b [A0], D1
00004530 2008 move.l D0, A0
00004532 4CDF 1800 movem.l A3,A4, [A7]+
00004536 4E5E unlink A6
00004538 4E75 rts
fn0000453A:
0000453A 4E56 0000 link A6, 0
0000453E 2F2E 000C move.l -[A7], [A6 + 0xC]
00004542 4EBA 0278 jsr [PC + 0x278 /* 000047BC */]
00004546 2E80 move.l [A7], D0
00004548 2F2E 000C move.l -[A7], [A6 + 0xC]
0000454C 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004550 4EBA 002C jsr [PC + 0x2C /* 0000457E */]
00004554 202E 0008 move.l D0, [A6 + 0x8]
00004558 4E5E unlink A6
0000455A 4E75 rts
fn0000455C:
0000455C 4E56 0000 link A6, 0
00004560 4878 FFFF push.l 0xFFFF
00004564 2F2E 000C move.l -[A7], [A6 + 0xC]
00004568 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000456C 4EBA 0010 jsr [PC + 0x10 /* 0000457E */]
00004570 206E 0008 movea.l A0, [A6 + 0x8]
00004574 08D0 0003 bset.b [A0], 0x3
00004578 2008 move.l D0, A0
0000457A 4E5E unlink A6
0000457C 4E75 rts
fn0000457E:
0000457E 4E56 0000 link A6, 0
00004582 2F0C move.l -[A7], A4
00004584 286E 0008 movea.l A4, [A6 + 0x8]
00004588 4878 0026 push.l 0x26 /* '&' */
0000458C 4267 clr.w -[A7]
0000458E 2F0C move.l -[A7], A4
00004590 4EBA E9FC jsr [PC - 0x1604 /* 00002F8E */]
00004594 397C FFFF 0004 move.w [A4 + 0x4], 0xFFFF
0000459A 296E 000C 000E move.l [A4 + 0xE], [A6 + 0xC]
000045A0 296E 0010 0012 move.l [A4 + 0x12], [A6 + 0x10]
000045A6 41ED 03A2 lea.l A0, [A5 + 0x3A2 /* export_112 */]
000045AA 2948 0022 move.l [A4 + 0x22], A0
000045AE 286E FFFC movea.l A4, [A6 - 0x4]
000045B2 4E5E unlink A6
000045B4 4E75 rts
export_112:
000045B6 4E56 0000 link A6, 0
000045BA 70FF moveq.l D0, 0xFFFFFFFF
000045BC 4E5E unlink A6
000045BE 4E75 rts
export_113:
fn000045C0:
000045C0 4E56 0000 link A6, 0
000045C4 486E 0010 pea.l [A6 + 0x10]
000045C8 2F2E 000C move.l -[A7], [A6 + 0xC]
000045CC 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045D0 4EBA 0006 jsr [PC + 0x6 /* 000045D8 */]
000045D4 4E5E unlink A6
000045D6 4E75 rts
fn000045D8:
000045D8 4E56 FFDA link A6, -0x0026
000045DC 2F07 move.l -[A7], D7
000045DE 2F2E 0010 move.l -[A7], [A6 + 0x10]
000045E2 2F2E 000C move.l -[A7], [A6 + 0xC]
000045E6 2F2E 0008 move.l -[A7], [A6 + 0x8]
000045EA 486E FFDA pea.l [A6 - 0x26]
000045EE 4EBA FF6C jsr [PC - 0x94 /* 0000455C */]
000045F2 588F addq.l A7, 4
000045F4 2E80 move.l [A7], D0
000045F6 4EBA E9AE jsr [PC - 0x1652 /* 00002FA6 */]
000045FA 3E00 move.w D7, D0
000045FC 4A40 tst.w D0
000045FE 4FEF 000C lea.l A7, [A7 + 0xC]
00004602 6D08 blt +0xA /* 0000460C */
00004604 206E 0008 movea.l A0, [A6 + 0x8]
00004608 4230 7000 clr.b [A0 + D7.w]
label0000460C:
0000460C 3007 move.w D0, D7
0000460E 2E1F move.l D7, [A7]+
00004610 4E5E unlink A6
00004612 4E75 rts
00004614 4E56 0000 link A6, 0
00004618 486E 0010 pea.l [A6 + 0x10]
0000461C 2F2E 000C move.l -[A7], [A6 + 0xC]
00004620 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004624 4EBA 0006 jsr [PC + 0x6 /* 0000462C */]
00004628 4E5E unlink A6
0000462A 4E75 rts
fn0000462C:
0000462C 4E56 FFDA link A6, -0x0026
00004630 2F2E 0010 move.l -[A7], [A6 + 0x10]
00004634 2F2E 000C move.l -[A7], [A6 + 0xC]
00004638 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000463C 486E FFDA pea.l [A6 - 0x26]
00004640 4EBA FEF8 jsr [PC - 0x108 /* 0000453A */]
00004644 588F addq.l A7, 4
00004646 2E80 move.l [A7], D0
00004648 4EBA F358 jsr [PC - 0xCA8 /* 000039A2 */]
0000464C 4E5E unlink A6
0000464E 4E75 rts
fn00004650:
00004650 4E56 0000 link A6, 0
00004654 4267 clr.w -[A7]
00004656 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000465A 206E 0008 movea.l A0, [A6 + 0x8]
0000465E 2068 0022 movea.l A0, [A0 + 0x22]
00004662 4E90 jsr [A0]
00004664 4E5E unlink A6
00004666 4E75 rts
fn00004668:
00004668 4E56 0000 link A6, 0
0000466C 3F3C 0001 move.w -[A7], 0x1
00004670 2F2E 0008 move.l -[A7], [A6 + 0x8]
00004674 206E 0008 movea.l A0, [A6 + 0x8]
00004678 2068 0022 movea.l A0, [A0 + 0x22]
0000467C 4E90 jsr [A0]
0000467E 4E5E unlink A6
00004680 4E75 rts
fn00004682:
00004682 4E56 0000 link A6, 0
00004686 3F3C 0002 move.w -[A7], 0x2
0000468A 2F2E 0008 move.l -[A7], [A6 + 0x8]
0000468E 206E 0008 movea.l A0, [A6 + 0x8]
00004692 2068 0022 movea.l A0, [A0 + 0x22]
00004696 4E90 jsr [A0]
00004698 4E5E unlink A6
0000469A 4E75 rts
export_114:
0000469C 206F 0004 movea.l A0, [A7 + 0x4]
000046A0 226F 0008 movea.l A1, [A7 + 0x8]
000046A4 2008 move.l D0, A0
label000046A6:
000046A6 10D9 move.b [A0]+, [A1]+
000046A8 66FC bne -0x2 /* 000046A6 */
000046AA 4E75 rts
000046AC 206F 0004 movea.l A0, [A7 + 0x4]
000046B0 226F 0008 movea.l A1, [A7 + 0x8]
000046B4 2008 move.l D0, A0
label000046B6:
000046B6 4A18 tst.b [A0]+
000046B8 66FC bne -0x2 /* 000046B6 */
000046BA 5388 subq.l A0, 1
label000046BC:
000046BC 10D9 move.b [A0]+, [A1]+
000046BE 66FC bne -0x2 /* 000046BC */
000046C0 4E75 rts
000046C2 206F 0004 movea.l A0, [A7 + 0x4]
000046C6 226F 0008 movea.l A1, [A7 + 0x8]
000046CA 7000 moveq.l D0, 0x00
000046CC 6004 bra +0x6 /* 000046D2 */
label000046CE:
000046CE 4A01 tst.b D1
000046D0 670C beq +0xE /* 000046DE */
label000046D2:
000046D2 1218 move.b D1, [A0]+
000046D4 B219 cmp.b D1, [A1]+
000046D6 67F6 beq -0x8 /* 000046CE */
000046D8 6202 bhi +0x4 /* 000046DC */
000046DA 5580 subq.l D0, 2
label000046DC:
000046DC 5280 addq.l D0, 1
label000046DE:
000046DE 4E75 rts
000046E0 206F 0004 movea.l A0, [A7 + 0x4]
000046E4 122F 0009 move.b D1, [A7 + 0x9]
000046E8 7000 moveq.l D0, 0x00
000046EA 6004 bra +0x6 /* 000046F0 */
label000046EC:
000046EC 4A18 tst.b [A0]+
000046EE 6706 beq +0x8 /* 000046F6 */
label000046F0:
000046F0 B210 cmp.b D1, [A0]
000046F2 66F8 bne -0x6 /* 000046EC */
000046F4 2008 move.l D0, A0
label000046F6:
000046F6 4E75 rts
000046F8 206F 0004 movea.l A0, [A7 + 0x4]
000046FC 70FF moveq.l D0, 0xFFFFFFFF
label000046FE:
000046FE 5280 addq.l D0, 1
00004700 1218 move.b D1, [A0]+
00004702 670C beq +0xE /* 00004710 */
00004704 226F 0008 movea.l A1, [A7 + 0x8]
label00004708:
00004708 1419 move.b D2, [A1]+
0000470A 67F2 beq -0xC /* 000046FE */
0000470C B401 cmp.b D2, D1
0000470E 66F8 bne -0x6 /* 00004708 */
label00004710:
00004710 4E75 rts
00004712 206F 0004 movea.l A0, [A7 + 0x4]
00004716 7000 moveq.l D0, 0x00
label00004718:
00004718 1218 move.b D1, [A0]+
0000471A 6710 beq +0x12 /* 0000472C */
0000471C 226F 0008 movea.l A1, [A7 + 0x8]
label00004720:
00004720 1419 move.b D2, [A1]+
00004722 67F4 beq -0xA /* 00004718 */
00004724 B401 cmp.b D2, D1
00004726 66F8 bne -0x6 /* 00004720 */
00004728 5388 subq.l A0, 1
0000472A 2008 move.l D0, A0
label0000472C:
0000472C 4E75 rts
0000472E 206F 0004 movea.l A0, [A7 + 0x4]
00004732 122F 0009 move.b D1, [A7 + 0x9]
00004736 7000 moveq.l D0, 0x00
label00004738:
00004738 B210 cmp.b D1, [A0]
0000473A 6602 bne +0x4 /* 0000473E */
0000473C 2008 move.l D0, A0
label0000473E:
0000473E 4A18 tst.b [A0]+
00004740 66F6 bne -0x8 /* 00004738 */
00004742 4E75 rts
00004744 206F 0004 movea.l A0, [A7 + 0x4]
00004748 7000 moveq.l D0, 0x00
0000474A 6006 bra +0x8 /* 00004752 */
label0000474C:
0000474C B401 cmp.b D2, D1
0000474E 660A bne +0xC /* 0000475A */
00004750 5280 addq.l D0, 1
label00004752:
00004752 1218 move.b D1, [A0]+
00004754 6708 beq +0xA /* 0000475E */
00004756 226F 0008 movea.l A1, [A7 + 0x8]
label0000475A:
0000475A 1419 move.b D2, [A1]+
0000475C 66EE bne -0x10 /* 0000474C */
label0000475E:
0000475E 4E75 rts
00004760 202F 0004 move.l D0, [A7 + 0x4]
00004764 6006 bra +0x8 /* 0000476C */
label00004766:
00004766 B401 cmp.b D2, D1
00004768 6708 beq +0xA /* 00004772 */
0000476A 5280 addq.l D0, 1
label0000476C:
0000476C 2040 movea.l A0, D0
0000476E 226F 0008 movea.l A1, [A7 + 0x8]
label00004772:
00004772 1219 move.b D1, [A1]+
00004774 6706 beq +0x8 /* 0000477C */
00004776 1418 move.b D2, [A0]+
00004778 66EC bne -0x12 /* 00004766 */
0000477A 7000 moveq.l D0, 0x00
label0000477C:
0000477C 4E75 rts
0000477E 202F 0004 move.l D0, [A7 + 0x4]
00004782 6606 bne +0x8 /* 0000478A */
label00004784:
00004784 202D FFFC move.l D0, [A5 - 0x4]
00004788 6730 beq +0x32 /* 000047BA */
label0000478A:
0000478A 42AD FFFC clr.l [A5 - 0x4]
0000478E 2040 movea.l A0, D0
00004790 6006 bra +0x8 /* 00004798 */
label00004792:
00004792 B401 cmp.b D2, D1
00004794 660A bne +0xC /* 000047A0 */
00004796 2008 move.l D0, A0
label00004798:
00004798 1218 move.b D1, [A0]+
0000479A 67E8 beq -0x16 /* 00004784 */
0000479C 226F 0008 movea.l A1, [A7 + 0x8]
label000047A0:
000047A0 1419 move.b D2, [A1]+
000047A2 66EE bne -0x10 /* 00004792 */
label000047A4:
000047A4 1218 move.b D1, [A0]+
000047A6 6712 beq +0x14 /* 000047BA */
000047A8 226F 0008 movea.l A1, [A7 + 0x8]
label000047AC:
000047AC 1419 move.b D2, [A1]+
000047AE 67F4 beq -0xA /* 000047A4 */
000047B0 B401 cmp.b D2, D1
000047B2 66F8 bne -0x6 /* 000047AC */
000047B4 2B48 FFFC move.l [A5 - 0x4], A0
000047B8 4220 clr.b -[A0]
label000047BA:
000047BA 4E75 rts
export_115:
fn000047BC:
000047BC 70FF moveq.l D0, 0xFFFFFFFF
000047BE 206F 0004 movea.l A0, [A7 + 0x4]
label000047C2:
000047C2 5280 addq.l D0, 1
000047C4 4A18 tst.b [A0]+
000047C6 66FA bne -0x4 /* 000047C2 */
000047C8 4E75 rts
fn000047CA:
000047CA 4E56 FFFC link A6, -0x0004
000047CE 2F0C move.l -[A7], A4
000047D0 286E 000A movea.l A4, [A6 + 0xA]
000047D4 0C6E FFFF 0008 cmpi.w [A6 + 0x8], 0xFFFF
000047DA 6606 bne +0x8 /* 000047E2 */
000047DC 70FF moveq.l D0, 0xFFFFFFFF
000047DE 6000 008C bra +0x8E /* 0000486C */
label000047E2:
000047E2 2F0C move.l -[A7], A4
000047E4 4EBA FCF2 jsr [PC - 0x30E /* 000044D8 */]
000047E8 4A2C 0001 tst.b [A4 + 0x1]
000047EC 588F addq.l A7, 4
000047EE 6A0A bpl +0xC /* 000047FA */
000047F0 4AAC 0012 tst.l [A4 + 0x12]
000047F4 675A beq +0x5C /* 00004850 */
000047F6 70FF moveq.l D0, 0xFFFFFFFF
000047F8 6072 bra +0x74 /* 0000486C */
label000047FA:
000047FA 202C 0012 move.l D0, [A4 + 0x12]
000047FE B0AC 000A cmp.l D0, [A4 + 0xA]
00004802 6622 bne +0x24 /* 00004826 */
00004804 4AAC 000A tst.l [A4 + 0xA]
00004808 671C beq +0x1E /* 00004826 */
0000480A 202C 0012 move.l D0, [A4 + 0x12]
0000480E 91AC 0016 sub.l [A4 + 0x16], D0
00004812 42AC 0012 clr.l [A4 + 0x12]
00004816 41EC 0004 lea.l A0, [A4 + 0x4]
0000481A 2948 000E move.l [A4 + 0xE], A0
0000481E 08EC 0007 0001 bset.b [A4 + 0x1], 0x7
00004824 602A bra +0x2C /* 00004850 */
label00004826:
00004826 202C 000E move.l D0, [A4 + 0xE]
0000482A B0AC 0006 cmp.l D0, [A4 + 0x6]
0000482E 6620 bne +0x22 /* 00004850 */
00004830 2F2C 0012 move.l -[A7], [A4 + 0x12]
00004834 2F2C 0006 move.l -[A7], [A4 + 0x6]
00004838 202C 000A move.l D0, [A4 + 0xA]
0000483C 90AC 0012 sub.l D0, [A4 + 0x12]
00004840 D1AC 000E add.l [A4 + 0xE], D0
00004844 2F2C 000E move.l -[A7], [A4 + 0xE]
00004848 4EBA E6DE jsr [PC - 0x1922 /* 00002F28 */]
0000484C 4FEF 000C lea.l A7, [A7 + 0xC]
label00004850:
00004850 0894 0005 bclr.b [A4], 0x5
00004854 52AC 0012 addq.l [A4 + 0x12], 1
00004858 53AC 000E subq.l [A4 + 0xE], 1
0000485C 206C 000E movea.l A0, [A4 + 0xE]
00004860 102E 0009 move.b D0, [A6 + 0x9]
00004864 1080 move.b [A0], D0
00004866 7200 moveq.l D1, 0x00
00004868 1200 move.b D1, D0
0000486A 3001 move.w D0, D1
label0000486C:
0000486C 285F movea.l A4, [A7]+
0000486E 4E5E unlink A6
00004870 4E75 rts